Skip to content

Commit

Permalink
Updated to GodotSteam Server 3.3, updated GA files
Browse files Browse the repository at this point in the history
  • Loading branch information
Gramps committed May 19, 2024
1 parent 83d2f93 commit 3defdde
Show file tree
Hide file tree
Showing 33 changed files with 3,792 additions and 5,220 deletions.
70 changes: 70 additions & 0 deletions .github/actions/build-godot/action.yml
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 }}
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"
20 changes: 20 additions & 0 deletions .github/actions/download-godotsteam/action.yml
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
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
44 changes: 0 additions & 44 deletions .github/actions/godot-build/action.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/actions/godot-cache/action.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .github/actions/godot-mono/action.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/actions/godot-windows-build/action.yml

This file was deleted.

Loading

0 comments on commit 3defdde

Please sign in to comment.