godot-cpp-template/.github/actions/build/action.yml

115 lines
4.3 KiB
YAML
Raw Normal View History

Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
name: GDExtension Build
description: Build GDExtension
inputs:
platform:
required: true
description: Target platform.
arch:
required: true
description: Target architecture.
float-precision:
default: 'single'
description: Float precision (single or double).
build-target-type:
default: 'template_debug'
description: Build type (template_debug or template_release).
scons-cache:
2024-10-28 18:00:29 +00:00
default: '.scons-cache/'
description: Scons cache folder name, relative to each scons directory. Must not contain relative path signifiers (. or ..). Must be a transparent path part (empty or 'path/to/directory/', ending in a slash).
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
em_version:
default: 3.1.62
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
description: Emscripten version.
2024-10-28 18:00:29 +00:00
em-cache-directory:
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
default: emsdk-cache
2024-10-28 18:00:29 +00:00
description: Emscripten cache directory.
gdextension-directory:
default: ''
description: Location of the gdextension project within the repository. Must not contain relative path signifiers (. or ..). Must be a transparent path part (empty or 'path/to/directory/', ending in a slash).
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
runs:
using: composite
steps:
# Android only
- name: Android - Set up Java 17
uses: actions/setup-java@v4
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
if: ${{ inputs.platform == 'android' }}
with:
distribution: temurin
java-version: 17
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
- name: Android - Remove existing Android SDK, and set up ENV vars
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
if: ${{ inputs.platform == 'android' }}
shell: sh
run: |
sudo rm -r /usr/local/lib/android/sdk/**
export ANDROID_HOME=/usr/local/lib/android/sdk
export ANDROID_SDK_ROOT=$ANDROID_HOME
export ANDROID_NDK_VERSION=23.2.8568313
export ANDROID_NDK_ROOT=${ANDROID_SDK_ROOT}/ndk/${ANDROID_NDK_VERSION}
echo "ANDROID_HOME=$ANDROID_HOME" >> "$GITHUB_ENV"
echo "ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT" >> "$GITHUB_ENV"
echo "ANDROID_NDK_VERSION=$ANDROID_NDK_VERSION" >> "$GITHUB_ENV"
echo "ANDROID_NDK_ROOT=$ANDROID_NDK_ROOT" >> "$GITHUB_ENV"
- name: Android - Set up Android SDK
if: ${{ inputs.platform == 'android' }}
uses: android-actions/setup-android@v3
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
with:
packages: "ndk;${{ env.ANDROID_NDK_VERSION }} cmdline-tools;latest build-tools;34.0.0 platforms;android-34 cmake;3.22.1"
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
# Linux only
- name: Linux - dependencies
if: ${{ inputs.platform == 'linux' }}
shell: sh
run: |
sudo apt-get update -qq
sudo apt-get install -qqq build-essential pkg-config
# Web only
- name: Web - Set up Emscripten latest
if: ${{ inputs.platform == 'web' }}
uses: mymindstorm/setup-emsdk@v13
with:
version: ${{ inputs.em_version }}
2024-10-28 18:00:29 +00:00
actions-cache-folder: ${{ inputs.em-cache-directory }}.${{ inputs.float-precision }}.${{ inputs.build-target-type }}
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
- name: Web - Verify Emscripten setup
if: ${{ inputs.platform == 'web' }}
shell: sh
run: |
emcc -v
# Windows only
- name: Windows - Setup MinGW for Windows/MinGW build
uses: egor-tensin/setup-mingw@v2
if: ${{ inputs.platform == 'windows' }}
with:
version: 12.2.0
# Dependencies of godot
# Use python 3.x release (works cross platform)
- name: Set up Python 3.x
uses: actions/setup-python@v5
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
with:
# Semantic version range syntax or exact version of a Python version
python-version: "3.x"
# Optional - x64 or x86 architecture, defaults to x64
architecture: "x64"
- name: Setup scons
shell: bash
run: |
python -c "import sys; print(sys.version)"
python -m pip install scons==4.4.0
scons --version
# Build
- name: Cache .scons_cache
uses: actions/cache@v4
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
with:
path: |
2024-10-28 18:00:29 +00:00
${{ github.workspace }}/${{ inputs.gdextension-directory }}${{ inputs.scons-cache }}
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
key: ${{ inputs.platform }}_${{ inputs.arch }}_${{ inputs.float-precision }}_${{ inputs.build-target-type }}_cache
# Build gdextension
- name: Build GDExtension Debug Build
shell: sh
env:
2024-10-28 18:00:29 +00:00
SCONS_CACHE: ${{ github.workspace }}/${{ inputs.gdextension-directory }}${{ inputs.scons-cache }}
Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename Update action.yml Remove thirdparty.txt Update action.yml Update action.yml Update action.yml Update action.yml Update README.md Update README.md Update action.yml Add build so that it can be reused. fix issue update Update action.yml lint Update action.yml Update action.yml Update build.yml Update build.yml Update action.yml Update action.yml update with only 1 action Revert "try at root lvl" This reverts commit 0c46c0af695f265b288923d90162a7fad3c2e2d6. try at root lvl check to see if works with 4.2 upd update gdextension location to root upd upd Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml upd Update action.yml Update build.yml Update build.yml upd upd fix update with matrixes upd upd upd Update builds.yml Update build-gdextension.yml Update builds.yml rename update thirdparty Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update action.yml Update action.yml try debug symbols Update action.yml update Update action.yml Update action.yml Update action.yml Update action.yml use macos 14.3. See if anything changes Update action.yml Update README.md Update action.yml Update action.yml Update action.yml try sudo in sh Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml try to staple too? Update action.yml Update action.yml Update action.yml Update action.yml Update action.yml update readme. Update builds.yml Update builds.yml upd binary name Update action.yml upd Update Info.plist remove - upd update readme upd add thirdparty. Update info about where the script comes from. Update action.yml Update builds.yml update upd Update action.yml update readme Update action.yml update Co-Authored-By: Patrick Exner (FlameLizard) <patrick.exner1@web.de>
2023-12-08 14:44:17 +00:00
run: |
scons target=${{ inputs.build-target-type }} platform=${{ inputs.platform }} arch=${{ inputs.arch }} precision=${{ inputs.float-precision }}
2024-10-28 18:00:29 +00:00
working-directory: ${{ inputs.gdextension-directory }}