7
7
push :
8
8
branches :
9
9
- master
10
+ - workflow
10
11
tags :
11
12
- " *"
12
13
pull_request :
25
26
include :
26
27
- { os: ubuntu-20.04, target: linux, platform: linux-x64, container: 'ubuntu:18.04' }
27
28
- { os: ubuntu-20.04, target: linux, platform: linux-arm64, container: 'ubuntu:18.04' }
29
+ - { os: ubuntu-20.04, target: linux, platform: linux-arm32, container: 'ubuntu:18.04' }
28
30
- { os: macos-11, target: darwin, platform: darwin-x64 }
29
31
- { os: macos-11, target: darwin, platform: darwin-arm64 }
30
32
- { os: windows-latest, target: windows, platform: win32-ia32 }
@@ -43,15 +45,19 @@ jobs:
43
45
apt-get update
44
46
apt-get install -y sudo git gcc-9 g++-9
45
47
46
- - name : Install aarch64-linux-gnu
47
- if : ${{ matrix.platform == 'linux-arm64' }}
48
- run : |
49
- sudo apt-get update
50
- sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
51
-
52
48
- uses : actions/checkout@v3
53
49
with :
54
50
submodules : recursive
51
+ - uses : uraimo/run-on-arch-action@v2
52
+ if : ${{ matrix.platform == 'linux-arm32' }}
53
+ with :
54
+ arch : armv7
55
+ distro : ubuntu18.04
56
+ - uses : uraimo/run-on-arch-action@v2
57
+ if : ${{ matrix.platform == 'linux-arm64' }}
58
+ with :
59
+ arch : aarch64
60
+ distro : ubuntu18.04
55
61
- uses : actboy168/setup-luamake@master
56
62
- run : luamake -platform ${{ matrix.platform }}
57
63
0 commit comments