Skip to content

Commit

Permalink
Merge pull request #1090 from herd/action-litmus
Browse files Browse the repository at this point in the history
[ci] Action to run litmus on x86_64 tests

Run litmus on some x86_64 tests every sunday.
  • Loading branch information
maranget authored Dec 10, 2024
2 parents a3118c8 + 3204711 commit 96816c8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/run-litmus-x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Litmus X86_64

on:
schedule:
- cron: '0 10 * * 0'

jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-compiler:
- "5.1"

runs-on: ${{ matrix.os }}

steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: |
opam install dune menhir zarith
opam exec -- make Version.ml
opam exec -- dune build litmus/litmus.exe
opam exec -- make litmus-x86_64-test LITMUS=$(pwd)/_build/default/litmus/litmus.exe X86_64_PREFIX=''

0 comments on commit 96816c8

Please sign in to comment.