Run Litmus #44
This file contains hidden or 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: Run Litmus | |
| on: | |
| schedule: | |
| - cron: '0 10 * * 0' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| arch: | |
| - os: ubuntu-latest | |
| make-test-target: litmus-x86_64-test X86_64_PREFIX='' | |
| - os: ubuntu-24.04-arm | |
| make-test-target: litmus-aarch64-test | |
| ocaml-compiler: | |
| - "5.2" | |
| runs-on: ${{ matrix.arch.os }} | |
| steps: | |
| - name: Checkout tree | |
| uses: actions/checkout@v4 | |
| - name: Set-up OCaml ${{ matrix.ocaml-compiler }} | |
| uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
| - run: | | |
| sudo apt install qemu-system -qq | |
| opam install dune menhir zarith | |
| opam exec -- make Version.ml | |
| opam exec -- dune build litmus/litmus.exe internal/check_obs.exe | |
| ACCEL=tcg make ${{ matrix.arch.make-test-target }} LITMUS=$(pwd)/_build/default/litmus/litmus.exe |