dymokomi/luce-demo-wolf3d
Source of release 0.4.1
0.4.1 / .github / workflows / correctness.yml
name: Correctness
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
game:
runs-on: ${{ matrix.runner }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
runner: [macos-15, ubuntu-24.04]
steps:
- uses: actions/checkout@v7
with:
path: luce-demo-wolf3d
- uses: actions/checkout@v7
with: {repository: dymokomi/luce-base, path: luce-base}
# every dependency at main, beside this checkout (luce-base docs/CI.md)
- name: Check out dependencies at main
shell: bash
working-directory: ${{ github.workspace }}
run: |
python3 luce-base/tools/checkout_main.py luce-demo-wolf3d
- name: Install Linux UI backend
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libcairo2-dev fonts-dejavu-core
- name: Select Clang
run: |
mkdir -p "$RUNNER_TEMP/luce-bin"
ln -s "$(command -v clang)" "$RUNNER_TEMP/luce-bin/cc"
echo "$RUNNER_TEMP/luce-bin" >> "$GITHUB_PATH"
- run: cd luce-base && ./build.sh
- name: CPU contracts
working-directory: luce-demo-wolf3d
run: ./test.sh
- name: Full native link
working-directory: luce-demo-wolf3d
run: python3 tools/build.py