Skip to content

feat: Github Actions CI (#2)#10

Merged
leha-bot merged 3 commits intomasterfrom
feature/github-ci
Jun 25, 2022
Merged

feat: Github Actions CI (#2)#10
leha-bot merged 3 commits intomasterfrom
feature/github-ci

Conversation

@leha-bot
Copy link
Member

Basic build and test running via CMake and CTest.

Closes #2.

Basic build and test running via CMake and CTest.
@leha-bot leha-bot added the enhancement New feature or request label Jun 20, 2022
@leha-bot leha-bot added this to the 0.0.x milestone Jun 20, 2022
@leha-bot leha-bot self-assigned this Jun 20, 2022
These dependencies will be forwarded to CMake via CMAKE_MODULE_PATH and CMAKE_PREFIX_PATH.
See https://cmake.org/cmake/help/latest/command/find_package.html?highlight=find_package for details.
@leha-bot leha-bot force-pushed the feature/github-ci branch from 03a07ad to 845575a Compare June 20, 2022 11:53
@leha-bot leha-bot requested review from shiz01 and xvitaly June 20, 2022 13:28
Copy link
Collaborator

@shiz01 shiz01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine! Next, we will need to add clang to the build matrix.


env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move BUILD_TYPE, CXX and C from ENV to the cmake configuration step.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, but I'm thinking about env matrix, if it applicable to this case 🤔

# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest switching to Fedora. Ubuntu LTS has very outdated GCC and Clang versions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, but I'm thinking on compromise decision: make an Ubuntu 22.04, Fedora-latest and some another Windows/macos CI workloads

@leha-bot
Copy link
Member Author

I think that we should go futher, and merge the first revision for the simplest CI checks, and improve it using this PR's feedback

@leha-bot leha-bot merged commit 6fa7cc0 into master Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GitHub Actions / Another CI/CD

3 participants