Update config.yml #11
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 | |
on: [push, workflow_dispatch] | |
jobs: | |
linux-build: | |
runs-on: ${{ matrix.os }} | |
env: | |
CC: gcc-${{ matrix.compiler_version }} | |
CXX: g++-${{ matrix.compiler_version }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04] | |
compiler_version: [9] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure and build | |
run: | | |
cmake . -B build -DCMAKE_BUILD_TYPE=Release | |
cmake --build build | |
windows: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-2019, windows-2022] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure and build | |
run: | | |
cmake . -A x64 -B build -DCMAKE_BUILD_TYPE=Release | |
cmake --build build --config Release | |
darwin: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-13] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure and build | |
run: | | |
cmake . -B build -DCMAKE_BUILD_TYPE=Release | |
cmake --build build | |