This repository has been archived by the owner on Dec 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
143 lines (126 loc) Β· 3.71 KB
/
runner.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
name: π GHA
on:
workflow_dispatch:
pull_request:
branches:
- "*"
paths-ignore:
- "**/*.md"
- "LICENSE"
- "**/*.png"
- ".github/ISSUE_TEMPLATE/*"
- ".github/CODEOWNERS"
- "project/demo/*"
push:
branches:
- "main"
paths-ignore:
- "**/*.md"
- "**/*.png"
- "**/LICENSE"
- ".github/ISSUE_TEMPLATE/*"
- ".github/CODEOWNERS"
- "project/demo/*"
env:
GODOT_VERSION: 4.2
jobs:
static-checks:
name: π Static checks
uses: ./.github/workflows/static-checks.yml
linux-build:
name: π§ Linux
needs: static-checks
uses: ./.github/workflows/linux.yml
with:
fullbuild: ${{ github.event_name == 'workflow_dispatch' }}
godot_version: 4.2
macos-build:
name: π macOS
needs: static-checks
uses: ./.github/workflows/macos-build.yml
with:
fullbuild: ${{ github.event_name == 'workflow_dispatch' }}
godot_version: 4.2
macos-package:
name: π macOS Package
needs: macos-build
uses: ./.github/workflows/macos-package.yml
with:
fullbuild: ${{ github.event_name == 'workflow_dispatch' }}
godot_version: 4.2
android-build:
name: π€ Android
needs: static-checks
uses: ./.github/workflows/android-build.yml
with:
fullbuild: ${{ github.event_name == 'workflow_dispatch' }}
godot_version: 4.2
android-package:
name: π€ Android Package
if: ${{ github.event_name == 'workflow_dispatch' }}
needs: android-build
uses: ./.github/workflows/android-package.yml
ios-build:
name: π IOS
needs: static-checks
uses: ./.github/workflows/ios-build.yml
with:
fullbuild: ${{ github.event_name == 'workflow_dispatch' }}
godot_version: 4.2
ios-package:
name: π IOS Package
if: ${{ github.event_name == 'workflow_dispatch' }}
needs: ios-build
uses: ./.github/workflows/ios-package.yml
web-build:
name: π Web
needs: static-checks
uses: ./.github/workflows/web.yml
with:
fullbuild: ${{ github.event_name == 'workflow_dispatch' }}
godot_version: 4.2
windows-build:
name: π¨ Windows
needs: static-checks
uses: ./.github/workflows/windows.yml
with:
fullbuild: ${{ github.event_name == 'workflow_dispatch' }}
godot_version: 4.2
gdextension-build:
name: βοΈ GDExtension
needs: static-checks
uses: ./.github/workflows/gdextension.yml
with:
fullbuild: ${{ github.event_name == 'workflow_dispatch' }}
godot_version: 4.2
module-unit-tests:
name: βοΈ Module Unit Tests
needs: linux-build
uses: ./.github/workflows/module-unit-tests.yml
gdextension-unit-tests:
name: βοΈ GDExtension Unit Tests
needs: gdextension-build
uses: ./.github/workflows/gdextension-unit-tests.yml
with:
godot_version: 4.2
template-version-file:
name: π Create template version file
needs: module-unit-tests
runs-on: ubuntu-latest
steps:
- name: Create version file
run: |
mkdir -p ${{ github.workspace }}/bin/templates
echo ${{ env.GODOT_VERSION }}.stable > ${{ github.workspace }}/bin/templates/version.txt
mkdir -p ${{ github.workspace }}/bin-mono/templates
echo ${{ env.GODOT_VERSION }}.stable.mono > ${{ github.workspace }}/bin-mono/templates/version.txt
- name: Upload version file
uses: actions/upload-artifact@v2
with:
name: export-templates
path: ${{ github.workspace }}/bin/*
- name: Upload Mono version file
uses: actions/upload-artifact@v2
with:
name: export-templates-mono
path: ${{ github.workspace }}/bin-mono/*