-
Notifications
You must be signed in to change notification settings - Fork 11
46 lines (41 loc) · 1.06 KB
/
ubuntu_22_04.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Ubuntu-22.04
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.10.0
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
rems: https://github.com/rems-project/opam-repository.git
- name: Deps
run: |
sudo apt update
sudo apt install build-essential libgmp-dev z3 libz3-dev gcc-aarch64-linux-gnu gcc-riscv64-unknown-elf
z3 -version
opam install dune
git clone --branch new_smt https://github.com/rems-project/sail.git
opam pin -y add sail
- name: Set Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
default: true
- name: Build
run: |
eval `opam config env`
make
make isla-sail
- name: Run tests
run: |
eval `opam config env`
make test-github