sources are rolled to a newer tasker library (with extended exception… #336
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: Build / Test | |
on: | |
push: | |
branches: [ '**', '!pre.*' ] | |
pull_request: | |
branches: [ master ] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
permissions: write-all | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
matrix: | |
config: | |
- os: ubuntu-22.04 | |
- os: windows-2019 | |
- os: macos-12 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Select Python 3.10 # otherwise turtlebrowser/get-conan@v1.1 fails on macos-12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install Conan | |
id: conan | |
uses: turtlebrowser/get-conan@main | |
with: | |
version: 1.59.0 | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/_build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: Build | |
run: cmake --build ${{github.workspace}}/_build --config ${{env.BUILD_TYPE}} --parallel 4 | |
- name: Test | |
working-directory: ${{github.workspace}}/_build | |
run: ctest -C ${{env.BUILD_TYPE}} -VV |