-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (46 loc) · 1.18 KB
/
test.yaml
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
name: Test
on:
pull_request:
branches: ["*"]
paths-ignore:
- '**/*.md'
push:
branches: ["main", "dev"]
paths-ignore:
- '**/*.md'
jobs:
miri:
name: UB Detection
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Miri
run: |
rustup toolchain install nightly --component miri
rustup override set nightly
cargo miri setup
- name: Test with Miri
run: cargo miri test
fuzzy:
name: Fuzzy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test
run: |
rustup default nightly
cargo install cargo-fuzz
cargo fuzz run --all-features fuzz_parser_1 -- -max_len=256 -runs=16777216
vm:
name: VM Deploy
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
id-token: "write"
contents: "read"
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run os for test
run: nix run github:nix-community/nixos-anywhere -- --flake .#tester --vm-test