File tree Expand file tree Collapse file tree 2 files changed +54
-25
lines changed Expand file tree Collapse file tree 2 files changed +54
-25
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : ['master', 'auto']
6
+ pull_request :
7
+
8
+ jobs :
9
+ Test :
10
+ runs-on : ubuntu-latest
11
+ env :
12
+ HARFBUZZ_SYS_NO_PKG_CONFIG : true
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - uses : actions-rs/toolchain@v1
16
+ with :
17
+ toolchain : stable
18
+ override : true
19
+ profile : minimal
20
+
21
+ - name : Install packages
22
+ run : |
23
+ sudo apt-get update
24
+ sudo apt-get install -y libegl1-mesa-dev libgtk-3-dev libsdl2-dev cmake
25
+
26
+ - name : Install rustc target
27
+ run : rustup target add aarch64-unknown-linux-gnu
28
+
29
+ - name : Build arm64 simd
30
+ run : cargo build --target aarch64-unknown-linux-gnu
31
+ working-directory : simd
32
+
33
+ - name : Build arm64 geometry
34
+ run : cargo build --target aarch64-unknown-linux-gnu
35
+ working-directory : geometry
36
+
37
+ - name : Build
38
+ run : cargo build
39
+
40
+ - name : Test
41
+ run : cargo test
42
+
43
+ build_result :
44
+ name : homu build finished
45
+ runs-on : ubuntu-latest
46
+ needs :
47
+ - " Test"
48
+ steps :
49
+ - name : Mark the job as successful
50
+ run : exit 0
51
+ if : success()
52
+ - name : Mark the job as unsuccessful
53
+ run : exit 1
54
+ if : " !success()"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments