Skip to content

Commit

Permalink
ci: parallelize builds
Browse files Browse the repository at this point in the history
  • Loading branch information
florianvazelle committed Jan 3, 2024
1 parent 591c00d commit 55f220e
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/release-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,21 @@ jobs:
timeout-minutes: 30
needs: [check]

build:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
needs: [check]

strategy:
matrix:
include:
- os: ubuntu-22.04
command: export-linux
- os: windows-2022
command: export-windows
- os: macos-12
command: export-mac

steps:
- uses: actions/checkout@v4
with:
Expand All @@ -60,8 +75,13 @@ jobs:

- uses: ./.github/actions/setup-x11-drivers

# Retry multiple times, always in CI, godot freeze when reimporting assets
- name: Export
run: just export
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: just ${{ matrix.command }}

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 55f220e

Please sign in to comment.