Skip to content

Commit

Permalink
Merge remote-tracking branch 'maiself/master' into python-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivorforce committed Oct 29, 2024
2 parents aa90fdb + 74eaeea commit b78c427
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
submodules: true

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'

Expand Down Expand Up @@ -73,15 +73,15 @@ jobs:
- name: Upload artifacts (Linux, macOS)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: godot-python-${{ matrix.platform }}-${{ matrix.arch }}
path: godot-python*.zip
retention-days: 30

- name: Upload artifacts (Windows)
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: godot-python-${{ matrix.platform }}-${{ matrix.arch }}
path: |
Expand All @@ -99,3 +99,13 @@ jobs:
echo "Releasing artifact for windows"
elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
echo "Releasing artifact for macOS"
merge:
runs-on: ubuntu-latest
needs: build
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: godot-python
pattern: godot-python-*
delete-merged: true
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# godot-python-extension

> **Warning**
> [!WARNING]
>
> This repository is a work in progress and should be considered experimental. It is not production ready.
>
Expand Down Expand Up @@ -28,7 +28,7 @@ This project can be thought as having three layers:

## Building

> **Note**
> [!NOTE]
>
> Godot version 4.2 or later is required to build and load this extension.
Expand All @@ -46,7 +46,7 @@ scons godot=<PATH_TO_GODOT_BINARY>

The path to the `godot` binary is needed to extract the `gdextension_interface.h` and `extension_api.json` files from the engine. The built extension shared object will be placed in `bin/`.

> **Note**
> [!NOTE]
>
> Currently this project has only been tested on Linux with Python versions 3.11 and 3.12. Modifications to the [SConstruct](SConstruct) file may be needed for other platform configurations. Please submit issues and pull requests for any problems you run into.
Expand Down

0 comments on commit b78c427

Please sign in to comment.