poor plan for day 11 part 1 #41
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, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
continue-on-error: true | |
strategy: | |
matrix: | |
build_type: [Release] | |
os: | |
- ubuntu-24.04 | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set GCC environment variables on Ubuntu | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
export CC=/usr/bin/gcc-14 | |
export CXX=/usr/bin/g++-14 | |
- name: Run Cmake | |
run: cmake -S 2024 -B build -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} | |
- name: Build | |
run: cmake --build build --parallel 10 |