Skip to content

Commit c0f558d

Browse files
authored
Merge pull request #89 from Joy-less/improve-workflow-architectures
2 parents dd70091 + cb186a6 commit c0f558d

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/workflows/builds.yml

+15-13
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,27 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
# A build is made for every possible combination of parameters
14-
# You can add or remove entries from the arrays of each parameter to custimize which builds you want to run
14+
# You can add or remove entries from the arrays of each parameter to customize which builds you want to run
1515
# See https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow
1616
target:
1717
[
1818
{ platform: linux, arch: x86_64, os: ubuntu-22.04 },
19+
{ platform: linux, arch: x86_32, os: ubuntu-22.04 },
20+
{ platform: linux, arch: arm64, os: ubuntu-22.04-arm },
21+
{ platform: linux, arch: arm32, os: ubuntu-22.04-arm },
1922
{ platform: windows, arch: x86_64, os: windows-latest },
2023
{ platform: windows, arch: x86_32, os: windows-latest },
24+
{ platform: windows, arch: arm64, os: windows-latest },
2125
{ platform: macos, arch: universal, os: macos-latest },
22-
{ platform: android, arch: arm64, os: ubuntu-22.04 },
23-
{ platform: android, arch: arm32, os: ubuntu-22.04 },
2426
{ platform: android, arch: x86_64, os: ubuntu-22.04 },
2527
{ platform: android, arch: x86_32, os: ubuntu-22.04 },
28+
{ platform: android, arch: arm64, os: ubuntu-22.04 },
29+
{ platform: android, arch: arm32, os: ubuntu-22.04 },
2630
{ platform: ios, arch: arm64, os: macos-latest },
27-
{ platform: web, arch: wasm32, os: ubuntu-22.04 }
31+
{ platform: web, arch: wasm32, os: ubuntu-22.04 },
2832
]
29-
target-type: [template_debug]
33+
target-type: [template_debug, template_release]
3034
float-precision: [single, double]
31-
include: # Also build a release version for these specific targets. Remove if you add template_release above.
32-
- target: { platform: linux, arch: x86_64, os: ubuntu-22.04 }
33-
target-type: template_release
34-
float-precision: single
35-
36-
- target: { platform: linux, arch: x86_64, os: ubuntu-22.04 }
37-
target-type: template_release
38-
float-precision: double
3935

4036
runs-on: ${{ matrix.target.os }}
4137
steps:
@@ -55,6 +51,12 @@ jobs:
5551
# run: |
5652
# clang-format src/** --dry-run --Werror
5753

54+
# Add linux x86_32 toolchain
55+
- name: Install multilib support
56+
if: ${{ matrix.target.platform == 'linux' && matrix.target.arch == 'x86_32' }}
57+
run: |
58+
sudo apt-get update && sudo apt-get install -y gcc-multilib g++-multilib
59+
5860
# Setup dependencies
5961
- name: Setup godot-cpp
6062
uses: ./godot-cpp/.github/actions/setup-godot-cpp

0 commit comments

Comments
 (0)