Fix build for newer godot versions on non MSVC #467
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.1 | |
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.1 | |
macos-build: | |
name: π macOS | |
needs: static-checks | |
uses: ./.github/workflows/macos-build.yml | |
with: | |
fullbuild: ${{ github.event_name == 'workflow_dispatch' }} | |
godot_version: 4.2.1 | |
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.1 | |
android-build: | |
name: π€ Android | |
needs: static-checks | |
uses: ./.github/workflows/android-build.yml | |
with: | |
fullbuild: ${{ github.event_name == 'workflow_dispatch' }} | |
godot_version: 4.2.1 | |
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.1 | |
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.1 | |
windows-build: | |
name: π¨ Windows | |
needs: static-checks | |
uses: ./.github/workflows/windows.yml | |
with: | |
fullbuild: ${{ github.event_name == 'workflow_dispatch' }} | |
godot_version: 4.2.1 | |
gdextension-build: | |
name: βοΈ GDExtension | |
needs: static-checks | |
uses: ./.github/workflows/gdextension.yml | |
with: | |
fullbuild: ${{ github.event_name == 'workflow_dispatch' }} | |
godot_version: 4.2.1 | |
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.1 | |
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/* |