-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.04 KB
/
unit-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
name: unit-test
on:
pull_request:
permissions:
contents: read
checks: write
statuses: write
jobs:
unit-test:
uses: jucr-io/github-reusable-workflows/.github/workflows/rust-test-v1.yaml@main
secrets: inherit
strategy:
fail-fast: false
matrix:
profile: ["release"]
toolchain: ["stable"]
targets:
- name: "."
target: "x86_64-unknown-linux-gnu"
- name: "."
target: "aarch64-unknown-linux-gnu"
- name: "."
target: "aarch64-apple-darwin"
rust_log: ["debug"]
rust_backtrace: ["full"]
rustflags: ["-D warnings"]
debug: ["true"]
with:
profile: ${{ matrix.profile }}
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.targets.target }}
# features: ${{ matrix.targets.features }}
name: ${{ matrix.targets.name }}
rust_log: ${{ matrix.rust_log }}
rust_backtrace: ${{ matrix.rust_backtrace }}
rustflags: ${{ matrix.rustflags }}
debug: ${{ matrix.debug }}