changing to cmake #59
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: "prepare build (production/standard), gcc" | |
run: cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release | |
- name: "build" | |
run: cmake --build build --target all --config Release -- -j4 | |
- name: "Test" | |
run: ctest --test-dir build |