generated from godotengine/godot-cpp-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (43 loc) · 1.22 KB
/
builds.yml
File metadata and controls
51 lines (43 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: 🎮 Build & Export Game
on: [push, pull_request, merge_group]
concurrency:
group: ${{ github.workflow }}|${{ github.ref_name }}
cancel-in-progress: true
jobs:
# First stage: Only static checks, fast and prevent expensive builds from running.
static-checks:
if: ${{ vars.CI_ENABLED == 'true' }}
name: 📊 Static checks
uses: ./.github/workflows/static_checks.yml
secrets: inherit
# Second stage: Run all the builds
android-build:
name: 🤖 Android
needs: static-checks
uses: ./.github/workflows/android_builds.yml
secrets: inherit
ios-build:
name: 🍏 iOS
needs: static-checks
uses: ./.github/workflows/ios_builds.yml
secrets: inherit
linux-build:
name: 🐧 Linux
needs: static-checks
uses: ./.github/workflows/linux_builds.yml
secrets: inherit
macos-build:
name: 🍎 MacOS
needs: static-checks
uses: ./.github/workflows/macos_builds.yml
secrets: inherit
web-build:
name: 🌐 Web
needs: static-checks
uses: ./.github/workflows/web_builds.yml
secrets: inherit
windows-build:
name: 🪟 Windows
needs: static-checks
uses: ./.github/workflows/windows_builds.yml
secrets: inherit