Update unit tests to work on Ubuntu 24.04 #207
This file contains hidden or 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: CMake Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
BUILD_TYPE: ${{ matrix.builtype }} | |
strategy: | |
matrix: | |
compiler: [g++, clang++] | |
buildtype: [Debug, Release] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt-get install -y cmake g++ clang | |
- name: Emulator configuration | |
working-directory: ${{github.workspace}} | |
env: | |
CXX: ${{ matrix.compiler }} | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: Emulator build | |
run: cmake --build ${{github.workspace}}/build |