Skip to content

.recomp.json: names from the spec's list #14

.recomp.json: names from the spec's list

.recomp.json: names from the spec's list #14

Workflow file for this run

name: Linux
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v5
- name: Install SDL3
uses: libsdl-org/setup-sdl@main
id: sdl
with:
install-linux-dependencies: true
version: 3-latest
build-type: ${{ env.BUILD_TYPE }}
# UASM is not required for this job (game + host tests: discovery + console state). ASM equivalence uses test.yml + Docker.
- name: Install latest CMake and ninja
uses: lukka/get-cmake@latest
- name: Configure
run: |
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
-DCMAKE_PREFIX_PATH="${{ steps.sdl.outputs.prefix }}" \
-DLBA2_BUILD_TESTS=ON \
-DLBA2_BUILD_ASM_EQUIV_TESTS=OFF \
--preset linux
- name: Build
run: |
cmake --build build --target lba2
cmake --build build --target host_tests
- name: Host tests
run: cd build && ctest -L host_quick --output-on-failure
- name: Verify Binary
run: test -f build/SOURCES/lba2 && echo "Build successful"