builds godot
Diffstat (limited to '.github/workflows/templates.yml')
-rw-r--r--.github/workflows/templates.yml39
1 files changed, 32 insertions, 7 deletions
diff --git a/.github/workflows/templates.yml b/.github/workflows/templates.yml
index 7a0ecf5..7acc22d 100644
--- a/.github/workflows/templates.yml
+++ b/.github/workflows/templates.yml
@@ -9,29 +9,40 @@ on:
env:
branch: 3.x
tools: no
- target: release
flags: disable_3d=yes
jobs:
linux:
name: Build linux templates
runs-on: ubuntu-20.04
+ strategy:
+ matrix:
+ target: [release, release_debug]
+ bits: [32, 64]
steps:
- name: Compilation
uses: bend-n/godot-2d-builds/.github/actions/build-godot@main
with:
+ target: ${{ matrix.target }}
+ flags: -bits=${{ matrix.bits }} ${{ env.flags }}
platform: x11
- name: Upload artifact
uses: bend-n/godot-2d-builds/.github/actions/upload-artifact@main
windows:
+ strategy:
+ matrix:
+ target: [release, release_debug]
+ bits: [32, 64]
name: Build windows templates
runs-on: windows-latest
steps:
- name: Compilation
uses: bend-n/godot-2d-builds/.github/actions/build-godot@main
with:
+ target: ${{ matrix.target }}
+ flags: -bits=${{ matrix.bits }} ${{ env.flags }}
platform: windows
- name: Upload artifact
@@ -40,6 +51,10 @@ jobs:
android:
name: Build android templates
runs-on: ubuntu-20.04
+ strategy:
+ matrix:
+ target: [release, release_debug]
+ bits: [32, 64]
steps:
- name: Set up Java 11
uses: actions/setup-java@v1
@@ -49,13 +64,15 @@ jobs:
- name: Compilation (armv7)
uses: bend-n/godot-2d-builds/.github/actions/build-godot@main
with:
- flags: android_arch=armv7 ${{ env.flags }}
+ target: ${{ matrix.target }}
+ flags: -bits=${{ matrix.bits }} android_arch=armv7 ${{ env.flags }}
platform: android
- name: Compilation (arm64v8)
uses: bend-n/godot-2d-builds/.github/actions/build-godot@main
with:
- flags: android_arch=arm64v8 ${{ env.flags }}
+ target: ${{ matrix.target }}
+ flags: -bits=${{ matrix.bits }} android_arch=arm64v8 ${{ env.flags }}
platform: android
- name: Generate Godot templates
@@ -68,18 +85,28 @@ jobs:
uses: bend-n/godot-2d-builds/.github/actions/upload-artifact@main
macos:
+ strategy:
+ matrix:
+ target: [release, release_debug]
+ bits: [32, 64]
name: Build macos templates
runs-on: macos-latest
steps:
- name: Compilation
uses: bend-n/godot-2d-builds/.github/actions/build-godot@main
with:
+ flags: -bits=${{ matrix.bits }} ${{ env.flags }}
+ target: ${{ matrix.target }}
platform: macos
- name: Upload artifact
uses: bend-n/godot-2d-builds/.github/actions/upload-artifact@main
javascript:
+ strategy:
+ matrix:
+ target: [release, release_debug]
+ bits: [32, 64]
name: Build javascript templates
runs-on: ubuntu-20.04
steps:
@@ -95,6 +122,8 @@ jobs:
- name: Compilation
uses: bend-n/godot-2d-builds/.github/actions/build-godot@main
with:
+ target: ${{ matrix.target }}
+ flags: -bits=${{ matrix.bits }} ${{ env.flags }}
platform: javascript
- name: Upload artifact
@@ -108,10 +137,6 @@ jobs:
- name: Download all artifacts
uses: actions/download-artifact@v2
- - name: Bundle
- run: |
- zip -r templates.tpz *
-
- name: Upload artifact
uses: bend-n/godot-2d-builds/.github/actions/upload-artifact@main
with: