mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
Flow 2.8
This commit is contained in:
parent
75ffa58d47
commit
b4307d1487
27
.github/workflows/build-godot.yml
vendored
27
.github/workflows/build-godot.yml
vendored
|
@ -11,13 +11,15 @@ on:
|
|||
options:
|
||||
- linux
|
||||
- windows
|
||||
- both
|
||||
- mac
|
||||
- all
|
||||
|
||||
env:
|
||||
GODOT_VERSION: 4.3
|
||||
GODOT_PROJECT_LOCATION: tools/configurator/project.godot
|
||||
EXPORT_FOLDER_LINUX: bin/Linux
|
||||
EXPORT_FOLDER_WINDOWS: bin/Windows
|
||||
EXPORT_FOLDER_MAC: bin/macOS
|
||||
APPLICATION_NAME: godot_configurator
|
||||
|
||||
jobs:
|
||||
|
@ -51,7 +53,7 @@ jobs:
|
|||
|
||||
# DEBUG BUILDS
|
||||
- name: Building debug Linux
|
||||
if: ${{ github.event.inputs.job_target == 'linux' || github.event.inputs.job_target == 'both' }}
|
||||
if: ${{ github.event.inputs.job_target == 'linux' || github.event.inputs.job_target == 'all' }}
|
||||
run: |
|
||||
mkdir -p ${{ env.EXPORT_FOLDER_LINUX }}
|
||||
./Godot_v${GODOT_VERSION}-stable_linux.x86_64 --import ${{ env.GODOT_PROJECT_LOCATION }} --quiet --headless --export-debug "Linux/X11 64-bit" ${{ env.MAIN_FOLDER }}/${{ env.EXPORT_FOLDER_LINUX }}/${{ env.APPLICATION_NAME}}.x86_64
|
||||
|
@ -60,27 +62,38 @@ jobs:
|
|||
|
||||
# TAR to keep permissions set above
|
||||
- name: Tar File
|
||||
if: ${{ github.event.inputs.job_target == 'linux' || github.event.inputs.job_target == 'both' }}
|
||||
if: ${{ github.event.inputs.job_target == 'linux' || github.event.inputs.job_target == 'all' }}
|
||||
run: tar cvf ${{ env.APPLICATION_NAME}}_linux_debug_${{ env.DATE}}.tar ${{ env.EXPORT_FOLDER_LINUX}}
|
||||
|
||||
- name: Uploading GDExtension artifact debug
|
||||
if: ${{ github.event.inputs.job_target == 'linux' || github.event.inputs.job_target == 'both' }}
|
||||
if: ${{ github.event.inputs.job_target == 'linux' || github.event.inputs.job_target == 'all' }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ env.APPLICATION_NAME }}_linux_debug_${{ env.DATE }}.tar
|
||||
path: ${{ env.APPLICATION_NAME }}_linux_debug_${{ env.DATE }}.tar
|
||||
|
||||
- name: Building debug Windows
|
||||
if: ${{ github.event.inputs.job_target == 'windows' || github.event.inputs.job_target == 'both' }}
|
||||
if: ${{ github.event.inputs.job_target == 'windows' || github.event.inputs.job_target == 'all' }}
|
||||
run: |
|
||||
mkdir -p ${{ env.EXPORT_FOLDER_WINDOWS }}
|
||||
./Godot_v${GODOT_VERSION}-stable_linux.x86_64 --import ${{ env.GODOT_PROJECT_LOCATION }} --quiet --headless --export-debug "windows" ${{ env.MAIN_FOLDER }}/${{ env.EXPORT_FOLDER_WINDOWS }}/${{ env.APPLICATION_NAME}}.exe
|
||||
|
||||
- name: Uploading GDExtension artifact debug
|
||||
if: ${{ github.event.inputs.job_target == 'windows' || github.event.inputs.job_target == 'both' }}
|
||||
if: ${{ github.event.inputs.job_target == 'windows' || github.event.inputs.job_target == 'all' }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ env.APPLICATION_NAME }}_windows_debug_${{ env.DATE }}
|
||||
path: ${{ env.EXPORT_FOLDER_WINDOWS }}/
|
||||
|
||||
|
||||
- name: Building debug macOS
|
||||
if: ${{ github.event.inputs.job_target == 'mac' || github.event.inputs.job_target == 'all' }}
|
||||
run: |
|
||||
mkdir -p ${{ env.EXPORT_FOLDER_MAC }}
|
||||
./Godot_v${GODOT_VERSION}-stable_linux.x86_64 --import ${{ env.GODOT_PROJECT_LOCATION }} --quiet --headless --export-debug "macOS" ${{ env.MAIN_FOLDER }}/${{ env.EXPORT_FOLDER_MAC}}/${{ env.APPLICATION_NAME}}.exe
|
||||
|
||||
- name: Uploading GDExtension artifact debug
|
||||
if: ${{ github.event.inputs.job_target == 'mac' || github.event.inputs.job_target == 'all' }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ env.APPLICATION_NAME }}_mac_debug_${{ env.DATE }}
|
||||
path: ${{ env.EXPORT_FOLDER_MAC }}/
|
Loading…
Reference in a new issue