dymokomi/luce-xml
Source of release 0.3.0
0.3.0 / .github / workflows / correctness.yml
name: Correctness
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
test:
runs-on: ${{ matrix.runner }}
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
runner: [macos-15, ubuntu-24.04]
base: [pinned, main]
steps:
- uses: actions/checkout@v7
with:
path: luce-xml
- id: pins
run: echo "base=$([ '${{ matrix.base }}' = main ] && echo main || cat luce-xml/bootstrap/BASE)" >> "$GITHUB_OUTPUT"
- uses: actions/checkout@v7
with:
repository: dymokomi/luce-base
ref: ${{ steps.pins.outputs.base }}
path: luce-base
- 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
- run: ./test.sh
working-directory: luce-xml