-
-
Notifications
You must be signed in to change notification settings - Fork 83
GitHub Actions: Add Linux ARM64 build #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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. | ||||||
|
|
@@ -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 | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| continue-on-error: true | ||||||
| - name: Build for Linux editor arm | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| run: | | ||||||
| pip3 install scons | ||||||
| scons platform=linux arch=aarch64 target=editor generate_bindings=yes | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| 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 }} | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| if-no-files-found: error | ||||||
| path: | | ||||||
| out/ | ||||||
|
|
||||||
| windows-x64: | ||||||
| runs-on: windows-2022 | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.