minor #108
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: Linux CI build | ||
on: | ||
push: | ||
branches: [ "master", "cleanup" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Clang | ||
uses: egor-tensin/setup-clang@v1 | ||
with: | ||
version: latest | ||
- name: "prepare build (production/standard), gcc, c++17" | ||
run: cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ | ||
- name: "build" | ||
run: cmake --build build --target all --config Release -- -j4 | ||
- name: "Test" | ||
run: ctest --test-dir build | ||
- name: "production/standard, clang, c++17" | ||
run: cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ | ||
run: cmake --build build --target all --config Release -- -j4 | ||
Check failure on line 31 in .github/workflows/cpp-linux-build.yml GitHub Actions / Linux CI buildInvalid workflow file
|
||
run: ctest --test-dir build | ||
- name: "debug, gcc, c++17" | ||
run: cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++ | ||
run: cmake --build build --target all --config Debug -- -j4 | ||
run: ctest --test-dir build | ||
- name: "debug, clang, c++17" | ||
run: cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++ | ||
run: cmake --build build --target all --config Debug -- -j4 | ||
- name: "production/standard, gcc 20" | ||
run: cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_COMPILER=g++ | ||
run: cmake --build build --target all --config Release -- -j4 | ||
run: ctest --test-dir build | ||
- name: "production/standard, clang 20" | ||
run: cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_STANDARD=20 | ||
run: cmake --build build --target all --config Release -- -j4 | ||
run: ctest --test-dir build |