Fix building for clang #107
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: Build and Run Tests | |
on: | |
pull_request: | |
branches: [ "main" ] | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Create build directory | |
run: mkdir build | |
- name: Installing meson and ninja | |
run: python3 -m pip install meson ninja | |
- name: Installing apt packages | |
run: sudo apt install libgtest-dev gcovr libtbb-dev libsdl2-dev libsdl2-image-dev | |
- name: Run meson configuration | |
run: meson setup build -DonlyOpenSource=true -DenableArkanoidInputs=true | |
- name: Building project | |
run: ninja -C build | |
- name: Running tests | |
run: ninja test -C build | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: meson-logs | |
path: build/meson-logs/ | |