@@ -14,25 +14,21 @@ jobs:
14
14
fail-fast : false
15
15
matrix :
16
16
platform :
17
- - { name: win-x64, os: windows-latest, flags: -A x64 }
18
- - { name: win-x86, os: windows-latest, flags: -A Win32 }
19
- - { name: win-arm64, os: windows-latest, flags: -A ARM64 }
20
- - { name: linux-x64, os: ubuntu-20.04, flags: -GNinja, target_apt_arch: ":amd64" }
21
- - { name: linux-x86, os: ubuntu-20.04, flags: -GNinja -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32", target_apt_arch: ":i386" }
22
- - { name: linux-arm64, os: ubuntu-20 .04, flags: -GNinja, target_apt_arch: ":arm64", container: arm64v8/ubuntu, docker_platform: linux/arm64/v8 }
23
- - { name: linux-arm, os: ubuntu-20 .04, flags: -GNinja, target_apt_arch: ":armhf", container: arm32v7/ubuntu, docker_platform: linux/arm/v7 }
24
- - { name: osx-x64, os: macos-latest, flags: -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 }
17
+ - { name: win-x64, os: windows-latest, flags: -A x64 }
18
+ - { name: win-x86, os: windows-latest, flags: -A Win32 }
19
+ - { name: win-arm64, os: windows-latest, flags: -A ARM64 }
20
+ - { name: linux-x64, os: ubuntu-20.04, flags: -GNinja, target_apt_arch: ":amd64" }
21
+ - { name: linux-x86, os: ubuntu-20.04, flags: -GNinja -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32", target_apt_arch: ":i386" }
22
+ - { name: linux-arm64, os: ubuntu-22 .04-arm, flags: -GNinja, target_apt_arch: ":arm64", container: " arm64v8/ubuntu:20.04" }
23
+ - { name: linux-arm, os: ubuntu-22 .04-arm, flags: -GNinja, target_apt_arch: ":armhf", container: " arm32v7/ubuntu:20.04" }
24
+ - { name: osx-x64, os: macos-latest, flags: -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 }
25
25
# NOTE: macOS 11.0 is the first released supported by Apple Silicon.
26
- - { name: osx-arm64, os: macos-latest, flags: -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 }
26
+ - { name: osx-arm64, os: macos-latest, flags: -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 }
27
27
steps :
28
28
- uses : actions/checkout@v4
29
29
with :
30
30
submodules : true
31
31
32
- - name : Set up QEMU
33
- if : contains(matrix.platform.container, 'arm')
34
- uses : docker/setup-qemu-action@v3
35
-
36
32
- name : Build (Linux ARM)
37
33
if : contains(matrix.platform.container, 'arm')
38
34
uses : addnab/docker-run-action@v3
45
41
-e RUNNER_OS=${{ runner.os }}
46
42
-e FLAGS=${{ matrix.platform.flags }}
47
43
-e BUILD_TYPE=${{ env.BUILD_TYPE }}
48
- --platform ${{ matrix.platform.docker_platform }}
49
44
run : |
50
45
cd /workspace
51
46
./External/build.sh
0 commit comments