Drop conan. Build with cmake. #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: push | |
jobs: | |
gcc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: docker://lucteo/action-cxx-toolkit.v9.main:latest | |
with: | |
checks: build test install warnings | |
cc: gcc | |
conanflags: -o with_tests=True | |
cmakeflags: -DCMAKE_TOOLCHAIN_FILE=/github/workspace/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release | |
ctestflags: --test-dir /tmp/build/test | |
clang-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: docker://lucteo/action-cxx-toolkit.v9.main:latest | |
with: | |
checks: clang-format | |
clangformatdirs: src test_package/src | |
conan-package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: docker://lucteo/action-cxx-toolkit.v9.main:latest | |
with: | |
checks: build | |
build_command: conan profile detect && conan create /github/workspace/ --build=missing |