-
Notifications
You must be signed in to change notification settings - Fork 26
67 lines (48 loc) · 1.12 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
name: Build & Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build_test_i386:
name: Build & Test i386
runs-on: ubuntu:latest
container: i386/ubuntu:latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release
- name: Test
run: cargo test --release
build_test_x86:
name: Build & Test X86
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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: Build
run: cargo build --release
- name: Test
run: cargo test --release
build_test_arm:
name: Build & Test ARM
runs-on: buildjet-2vcpu-ubuntu-2204-arm
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release
- name: Test
run: cargo test --release