-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to GodotSteam Server 3.3, updated GA files
- Loading branch information
Showing
33 changed files
with
3,792 additions
and
5,220 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Build Godot | ||
|
||
|
||
description: Build Godot with the provided options | ||
|
||
|
||
inputs: | ||
binary: | ||
description: The finished binary's name | ||
default: '' | ||
|
||
buildroot: | ||
description: Build root to add to the PATH before building Godot, if Linux | ||
default: '' | ||
|
||
target: | ||
description: The SCONS target (debug/release_debug/release) | ||
default: "debug" | ||
|
||
tests: | ||
description: If tests are to be built | ||
default: false | ||
|
||
platform: | ||
description: The Godot platform to build | ||
required: false | ||
|
||
export: | ||
description: New GodotSteam export name | ||
default: '' | ||
|
||
sconsflags: | ||
default: '' | ||
|
||
scons-cache: | ||
description: The scons cache path | ||
default: "${{ github.workspace }}/.scons-cache/" | ||
|
||
scons-cache-limit: | ||
description: The scons cache size limit | ||
# actions/cache has 10 GiB limit, and GitHub runners have a 14 GiB disk. | ||
# Limit to 7 GiB to avoid having the extracted cache fill the disk. | ||
default: 7168 | ||
|
||
|
||
runs: | ||
using: "composite" | ||
|
||
steps: | ||
- name: SCONS Build | ||
shell: bash | ||
env: | ||
SCONSFLAGS: ${{ inputs.sconsflags }} | ||
SCONS_CACHE: ${{ inputs.scons-cache }} | ||
SCONS_CACHE_LIMIT: ${{ inputs.scons-cache-limit }} | ||
run: | | ||
echo "Building with flags:" ${{ env.SCONSFLAGS }} | ||
if [[ ${{ inputs.buildroot != '' }} ]]; then | ||
echo "Using buildroot at ${{ inputs.buildroot }}" | ||
fi | ||
${{ inputs.buildroot != '' && format('PATH={0}:$PATH', inputs.buildroot) || '' }} scons p=${{ inputs.platform }} production=yes target=${{ inputs.target }} tests=${{ inputs.tests }} ${{ env.SCONSFLAGS }} | ||
ls -l bin/ | ||
- name: Rename Export | ||
shell: bash | ||
if: ${{ inputs.binary != '' }} | ||
run: | | ||
mv bin/${{ inputs.binary }} bin/${{ inputs.export }} |
33 changes: 20 additions & 13 deletions
33
.github/actions/godot-download/action.yml → .github/actions/download-godot/action.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
name: Download Godot source code | ||
description: Download and extract the Godot source code for use in compiling | ||
inputs: | ||
version: | ||
description: Version of Godot source code to download | ||
default: "3.5.3-stable" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Download and extract Godot | ||
shell: bash | ||
run: | | ||
curl -fLO https://github.com/godotengine/godot/archive/${{ inputs.version }}.tar.gz | ||
name: Download Godot source code | ||
|
||
|
||
description: Download and extract the Godot source code for use in compiling | ||
|
||
|
||
inputs: | ||
version: | ||
description: Version of Godot source code to download | ||
default: "3.5.3-stable" | ||
|
||
|
||
runs: | ||
using: "composite" | ||
|
||
steps: | ||
- name: Download and extract Godot | ||
shell: bash | ||
run: | | ||
curl -fLO https://github.com/godotengine/godot/archive/${{ inputs.version }}.tar.gz | ||
tar -xvzf ${{ inputs.version }}.tar.gz --strip-components 1 --exclude=".github" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Download GodotSteam | ||
|
||
|
||
description: Download and extract the GodotSteam source code for use in compiling | ||
|
||
|
||
runs: | ||
using: "composite" | ||
|
||
steps: | ||
- name: Download and extract GodotSteam | ||
uses: actions/checkout@v4 | ||
with: | ||
path: "godotsteam_server" | ||
ref: "godot3" | ||
|
||
- name: Copy GodotSteam | ||
shell: bash | ||
run: | | ||
cp -r godotsteam_server ./modules/godotsteam_server |
72 changes: 41 additions & 31 deletions
72
...ub/actions/steamworks-download/action.yml → ...ub/actions/download-steamworks/action.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,42 @@ | ||
name: Download Steamworks SDK | ||
description: Download and extract the Steamworks SDK from our secret repository | ||
inputs: | ||
path: | ||
description: Where to dump this | ||
default: "steamworks" | ||
repository: | ||
description: CoaguCo's private SDK repo | ||
default: "" | ||
token: | ||
description: CoaguCo's repo token for access | ||
default: "" | ||
ref: | ||
description: The Steamworks SDK tag used | ||
default: "sdk-1.58" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Download Steamworks SDK | ||
uses: actions/checkout@v4 | ||
with: | ||
path: ${{ inputs.path }} | ||
repository: ${{ inputs.repository }} | ||
token: ${{ inputs.token }} | ||
ref: ${{ inputs.ref }} | ||
|
||
- name: Copy Steamworks | ||
shell: bash | ||
run: | | ||
mkdir ./modules/godotsteam_server/sdk/public | ||
cp -r steamworks/public ./modules/godotsteam_server/sdk | ||
name: Download Steamworks SDK | ||
|
||
|
||
description: Download and extract the Steamworks SDK from our secret repository | ||
|
||
|
||
inputs: | ||
path: | ||
description: Where to dump this | ||
default: "steamworks" | ||
|
||
repository: | ||
description: GodotSteam's private SDK repo | ||
default: "It's a secret..." | ||
|
||
token: | ||
description: GodotSteam's repo token for access | ||
default: "It's a secret..." | ||
|
||
ref: | ||
description: The Steamworks SDK tag used | ||
default: "sdk-1.59" | ||
|
||
|
||
runs: | ||
using: "composite" | ||
|
||
steps: | ||
- name: Download Steamworks SDK | ||
uses: actions/checkout@v4 | ||
with: | ||
path: ${{ inputs.path }} | ||
repository: ${{ inputs.repository }} | ||
token: ${{ inputs.token }} | ||
ref: ${{ inputs.ref }} | ||
|
||
- name: Copy Steamworks | ||
shell: bash | ||
run: | | ||
mkdir ./modules/godotsteam_server/sdk/public | ||
cp -r steamworks/public ./modules/godotsteam_server/sdk | ||
cp -r steamworks/redistributable_bin ./modules/godotsteam_server/sdk |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.