File tree 1 file changed +41
-0
lines changed
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Cross build
2
+
3
+ on : [push, pull_request]
4
+
5
+ permissions :
6
+ actions : read
7
+
8
+ jobs :
9
+ crossarch-check :
10
+ runs-on : ubuntu-latest
11
+ name : Build on ${{ matrix.arch }}
12
+
13
+ strategy :
14
+ matrix :
15
+ include :
16
+ - arch : aarch64
17
+ distro : ubuntu_latest
18
+ - arch : s390x
19
+ distro : ubuntu_latest
20
+ - arch : ppc64le
21
+ distro : ubuntu_latest
22
+ steps :
23
+ - uses : actions/checkout@v3.0.2
24
+ with :
25
+ submodules : true
26
+ set-safe-directory : true
27
+
28
+ - uses : uraimo/run-on-arch-action@v2.2.0
29
+ name : Build
30
+ id : build
31
+ with :
32
+ arch : ${{ matrix.arch }}
33
+ distro : ${{ matrix.distro }}
34
+
35
+ githubToken : ${{ github.token }}
36
+
37
+ run : |
38
+ set -xeu
39
+ apt update -y
40
+ apt install -y gcc make cargo libssl-dev pkg-config
41
+ cargo check
You can’t perform that action at this time.
0 commit comments