Using proper cpu hook for logging and debugging #34
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: [ "tasvideos-1-25a90c6" ] | |
push: | |
branches: [ "tasvideos-1-25a90c6" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Updating apt | |
run: sudo apt-get update | |
- name: Installing apt packages | |
run: sudo apt install libgtest-dev gcovr libnuma-dev libtbb-dev libsdl2-dev libsdl2-image-dev libvorbis-dev | |
- name: Installing meson and ninja | |
run: python3 -m pip install meson ninja | |
- name: Create build directory | |
run: mkdir -p build | |
- name: Run meson configuration | |
run: meson setup build . -DonlyFreeLicenseRoms=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/ | |