More CI stuff #5
Workflow file for this run
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: ATtiny85APU emulator | |
on: [push, pull_request] | |
jobs: | |
emulator: | |
runs-on: ${{ matrix.platform.os }} | |
name: Emulator build on ${{ matrix.platform.name }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- { name: Windows VS2019, os: windows-2019 } | |
- { name: Windows VS2022, os: windows-2022 } | |
- { name: Linux GCC, os: ubuntu-latest } | |
- { name: Linux Clang, os: ubuntu-latest, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ } | |
- { name: MacOS XCode, os: macos-latest } | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Configure | |
shell: bash | |
run: cmake -S . -B build -DCMAKE_INSTALL_PREFIX=install ${{matrix.platform.flags}} -DBUILD_SHARED_LIBS=FALSE | |
- name: Build | |
shell: bash | |
run: cmake --build build --target t85apu_emu --config Release |