Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: C/C++ CI

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

env:
# Only used for the cache key. Increment version to force clean build.
Expand Down Expand Up @@ -34,6 +34,32 @@ jobs:
if-no-files-found: error
path: |
out/
linux-arm:
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Godot build cache
uses: ./godot-cpp/.github/actions/godot-cache
with:
cache-name: linux-arm
continue-on-error: true
- name: Build for Linux editor arm
run: |
pip3 install scons
scons platform=linux arch=aarch64 target=editor generate_bindings=yes
ldd addons/godot-git-plugin/linux/*.so
- name: Prepare artifact
run: |
mkdir out
mv addons out/
- uses: actions/upload-artifact@v4
with:
name: libgit_plugin.linux.aarch64.editor.so-${{ github.sha }}
if-no-files-found: error
path: |
out/

windows-x64:
runs-on: windows-2022
Expand Down
1 change: 1 addition & 0 deletions addons/godot-git-plugin/git_plugin.gdextension
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ compatibility_minimum = "4.2.0"
[libraries]

linux.editor.x86_64 = "linux/libgit_plugin.linux.editor.x86_64.so"
linux.editor.arm64 = "linux/libgit_plugin.linux.editor.arm64.so"
macos.editor = "macos/libgit_plugin.macos.editor.universal.dylib"
windows.editor.x86_64 = "windows/libgit_plugin.windows.editor.x86_64.dll"