-
Notifications
You must be signed in to change notification settings - Fork 1.7k
51 lines (47 loc) · 1.14 KB
/
linux.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
name: linux
on:
push:
branches:
- master
- 'feature/**'
paths:
- 'source/**'
- 'express/**'
- 'test/**'
- '.github/workflows/linux.yml'
pull_request:
branches: [master]
paths:
- 'source/**'
- 'express/**'
- 'test/**'
- '.github/workflows/linux.yml'
concurrency:
group: linux-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
linux_buil_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build
run: |
mkdir build && cd build
cmake -DMNN_BUILD_TEST=ON ..
make -j4
- name: test
run: cd build && ./run_test.out
- name: build_non_sse
run: |
mkdir build_non_sse && cd build_non_sse
cmake -DMNN_BUILD_TEST=ON -DMNN_USE_SSE=OFF ..
make -j4
- name: test_non_sse
run: cd build_non_sse && ./run_test.out
- name: build_avx512
run: |
mkdir build_avx512 && cd build_avx512
cmake -DMNN_BUILD_TEST=ON -DMNN_AVX512=ON -DMNN_AVX512_VNNI=ON ..
make -j4