Skip to content

Rename Session to SongView, cleanup Song Layouts and Macros #5741

Rename Session to SongView, cleanup Song Layouts and Macros

Rename Session to SongView, cleanup Song Layouts and Macros #5741

Workflow file for this run

name: Run tests
on:
pull_request:
branches:
- "community"
- "release/**"
merge_group:
workflow_dispatch:
jobs:
test-build:
name: Build test binary
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install GCC multilib
run: |
sudo apt-get update
sudo apt-get install gcc-12 gcc-12-multilib g++-12-multilib
echo "CC=gcc-12" >> $GITHUB_ENV
echo "CXX=g++-12" >> $GITHUB_ENV
- name: Install CMake
uses: lukka/get-cmake@latest
- name: Configure
run: cmake -B build -S tests -G Ninja
- name: Run build
run: cmake --build build
- name: Run CTest
run: ctest --test-dir build --output-junit results/ctest_results.xml
- name: Run 32 bit CppUTest
run: |
cd build/results
../32bit_unit_tests/SmallPointerTests -ojunit
../32bit_unit_tests/MemoryManagerTests -ojunit
- name: Run main CppUTest
run: |
cd build/results
../unit/UnitTests -ojunit
- name: Upload Test Results
uses: actions/upload-artifact@v4
if: always()
with:
name: Test Results
path: build/results/**/*.xml
event_file:
name: "Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v4
with:
name: Event File
path: ${{ github.event_path }}