-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check sail-arm and sail-riscv in CI, use matrix instead of separate f…
…iles
- Loading branch information
1 parent
551bca4
commit 83c23ac
Showing
7 changed files
with
39 additions
and
90 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Sail CI Build | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
full-test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, macOS-latest] | ||
ocaml: [4.06.1, 4.10.0] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v2 | ||
- name: Install deps (linux) | ||
if: matrix.os == 'ubuntu-20.04' | ||
run: sudo apt-get install -y --no-install-recommends build-essential libgmp-dev z3 libz3-dev opam | ||
- name: Install deps (macOS) | ||
if: matrix.os == 'macOS-latest' | ||
run: brew install gpatch gmp z3 pkg-config opam | ||
- name: init opam | ||
run: opam init -y --no-setup --compiler=${{ matrix.ocaml }} --shell=sh | ||
- name: opam config env | ||
run: eval `opam config env` | ||
- name: pin and install sail from git | ||
run: opam pin -y add sail $PWD | ||
- name: test sail installation | ||
run: eval $(opam env) && sail -v | ||
|
||
- name: make sail-arm | ||
run: git clone https://github.com/rems-project/sail-arm.git && cd sail-arm/arm-v8.5-a && eval $(opam env) && make | ||
|
||
- name: make sail-riscv | ||
run: git clone https://github.com/rems-project/sail-riscv.git && cd sail-riscv && eval $(opam env) && make |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.