-
Notifications
You must be signed in to change notification settings - Fork 15
39 lines (35 loc) · 1.1 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
on:
pull_request:
branches:
- mc-develop
push:
branches:
- mc-develop
env:
RUST_BACKTRACE: full
CARGO_INCREMENTAL: 0
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-10-01
target: x86_64-unknown-linux-gnu
override: true
profile: minimal
- run: sudo apt update && sudo apt install cmake
- run: cargo build --target x86_64-unknown-linux-gnu --release --no-default-features --features="no_std_deps,aesni,force_aesni_support,rdrand,custom_threading"
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-10-01
target: x86_64-unknown-linux-gnu
override: true
profile: minimal
- run: sudo apt update && sudo apt install cmake
- run: cargo test --target x86_64-unknown-linux-gnu --release --no-default-features --features="no_std_deps,aesni,force_aesni_support,rdrand,custom_threading"