-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff53f8a
commit 912c529
Showing
1,995 changed files
with
115,626 additions
and
45,015 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
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
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,56 @@ | ||
name: 🪲 Godot CPP | ||
on: | ||
workflow_call: | ||
|
||
# Global Settings | ||
env: | ||
# Used for the cache key. Add version suffix to force clean build. | ||
GODOT_BASE_BRANCH: master | ||
# Used for the godot-cpp checkout. | ||
GODOT_CPP_BRANCH: '4.1' | ||
|
||
concurrency: | ||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-cpp-tests | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
godot-cpp-tests: | ||
runs-on: "ubuntu-20.04" | ||
name: "Build and test Godot CPP" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup python and scons | ||
uses: ./.github/actions/godot-deps | ||
|
||
# Checkout godot-cpp | ||
- name: Checkout godot-cpp | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: godotengine/godot-cpp | ||
ref: ${{ env.GODOT_CPP_BRANCH }} | ||
submodules: 'recursive' | ||
path: 'godot-cpp' | ||
|
||
# Download generated API dump | ||
- name: Download GDExtension interface and API dump | ||
uses: ./.github/actions/download-artifact | ||
with: | ||
name: 'godot-api-dump' | ||
path: './godot-api' | ||
|
||
# Extract and override existing files with generated files | ||
- name: Extract GDExtension interface and API dump | ||
run: | | ||
cp -f godot-api/gdextension_interface.h godot-cpp/gdextension/ | ||
cp -f godot-api/extension_api.json godot-cpp/gdextension/ | ||
# TODO: Add caching to the scons build and store it for CI via the godot-cache | ||
# action. | ||
|
||
# Build godot-cpp test extension | ||
- name: Build godot-cpp test extension | ||
run: | | ||
cd godot-cpp/test | ||
scons target=template_debug dev_build=yes | ||
cd ../.. |
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
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
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
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
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
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
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
Oops, something went wrong.