-
Notifications
You must be signed in to change notification settings - Fork 27
68 lines (48 loc) · 1.21 KB
/
build_test.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
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Build & Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build_test_x86:
name: Build & Test X86
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Switch to nightly rust
run: rustup default nightly
- name: Rust version
run: cargo rustc -- --version
- name: Build
run: cargo build --release
- name: Test
run: cargo test --release
build_test_x86_avx2:
name: Build & Test X86 AVX2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Switch to nightly rust
run: rustup default nightly
- name: Rust version
run: cargo rustc -- --version
- name: Build
run: cargo build --release --features hybrid
- name: Test
run: cargo test --release --features hybrid
build_test_arm:
name: Build & Test ARM
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Switch to nightly rust
run: rustup default nightly
- name: Rust version
run: cargo rustc -- --version
- name: Build
run: cargo build --release
- name: Test
run: cargo test --release