mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-22 11:21:18 +02:00
Create switch_builds.yml
This commit is contained in:
parent
e0a87c0255
commit
143e02b825
44
.github/workflows/switch_builds.yml
vendored
Normal file
44
.github/workflows/switch_builds.yml
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
name: 🎮 Switch Builds
|
||||
on: [push, pull_request]
|
||||
|
||||
# Global Settings
|
||||
env:
|
||||
GODOT_BASE_BRANCH: 3.x
|
||||
SCONSFLAGS: verbose=no warnings=no werror=no debug_symbols=no use_rtti=True disable_gles3=False
|
||||
|
||||
concurrency:
|
||||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-switch
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
switch-template:
|
||||
runs-on: ubuntu-latest
|
||||
container: devkitpro/devkita64
|
||||
name: Template (target=release, tools=no)
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Restore Godot build cache
|
||||
uses: ./.github/actions/godot-cache-restore
|
||||
continue-on-error: true
|
||||
|
||||
- name: Setup python and scons
|
||||
uses: ./.github/actions/godot-deps
|
||||
|
||||
- name: Compilation
|
||||
uses: ./.github/actions/godot-build
|
||||
with:
|
||||
sconsflags: ${{ env.SCONSFLAGS }}
|
||||
platform: switch
|
||||
target: release
|
||||
tools: false
|
||||
|
||||
- name: Save Godot build cache
|
||||
uses: ./.github/actions/godot-cache-save
|
||||
with:
|
||||
cache-name: ${{ matrix.cache-name }}
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload artifact
|
||||
uses: ./.github/actions/upload-artifact
|
Loading…
Reference in New Issue
Block a user