-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (49 loc) · 1.28 KB
/
miri_tests.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
47
48
49
50
51
52
53
54
55
name: CI
on:
push:
branches:
- main
jobs:
build_job:
name: Unit Tests (MIRI)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
build:
[
x86_64-linux,
x86_64-macos,
x86_64-windows
]
include:
- build: x86_64-linux
os: ubuntu-latest
rust: nightly
target: x86_64-unknown-linux-gnu
cross: false
- build: x86_64-macos
os: macos-latest
rust: nightly
target: x86_64-apple-darwin
cross: false
- build: x86_64-windows
os: windows-latest
rust: nightly
target: x86_64-pc-windows-msvc
cross: false
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install ${{ matrix.rust }} toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
components: miri
- name: Rust cache
uses: Swatinem/rust-cache@v2
- name: Generate test files
run: cargo run --package test-gen --release
- name: Test workspace (MIRI)
run: cargo miri test --workspace