File tree Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and test
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' **'
7
+ pull_request :
8
+ branches :
9
+ - ' **'
10
+
11
+ jobs :
12
+ build :
13
+ name : ${{ matrix.arch }}
14
+ runs-on : ubuntu-latest
15
+ strategy :
16
+ matrix :
17
+ arch : [armv7, aarch64, x86_64]
18
+ fail-fast : false
19
+ env :
20
+ MAKEFLAGS : -j
21
+ steps :
22
+ - name : Install dependencies
23
+ run : |
24
+ sudo apt-get -y update
25
+ sudo apt-get -y install autoconf automake bison flex
26
+
27
+ - uses : actions/checkout@v4
28
+ with :
29
+ clean : true
30
+
31
+ - name : Restore cache of test/cache
32
+ uses : actions/cache@v4
33
+ with :
34
+ path : test/cache
35
+ key : cache-${{ matrix.arch }}-${{ hashFiles('test/Makefile') }}
36
+ restore-keys : |
37
+ cache-${{ matrix.arch }}-
38
+ cache-
39
+
40
+ - name : Build
41
+ run : |
42
+ make -C test ${{ matrix.arch }}-build
43
+
44
+ - name : Check
45
+ run : |
46
+ make -C test ${{ matrix.arch }}-check
Original file line number Diff line number Diff line change 1
- ![ CI] ( https://github.com/wkz/ply/workflows/CI/badge.svg )
2
-
3
1
ply
4
2
===
5
3
You can’t perform that action at this time.
0 commit comments