-
Notifications
You must be signed in to change notification settings - Fork 11
45 lines (40 loc) · 1.13 KB
/
ci.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
name: ci
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [
# windows-latest,
ubuntu-latest,
macos-latest
]
include:
- os: macos-latest
Z3_DOWNLOAD: "https://github.com/Z3Prover/z3/releases/download/z3-4.8.17/z3-4.8.17-x64-osx-10.16.zip"
- os: ubuntu-latest
Z3_DOWNLOAD: "https://github.com/Z3Prover/z3/releases/download/z3-4.8.17/z3-4.8.17-x64-glibc-2.31.zip"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Z3 Setup
run: |
wget ${{matrix.Z3_DOWNLOAD}} -O z3.zip;
unzip z3.zip;
rm z3.zip;
mv z3-* z3;
mkdir -p "${HOME}/.local/bin";
mv z3/bin/z3 "${HOME}/.local/bin/.";
echo "${HOME}/.local/bin" >> $GITHUB_PATH;
- name: Check Z3
run: z3 -h
- name: Build
run: cargo build --verbose
- name: Debug Tests
run: cargo test --verbose
- name: Build release
run: cargo build --release --verbose
- name: Release Tests
run: cargo test --release --tests --verbose