forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Caroline Bell <[email protected]>
- Loading branch information
1 parent
e0e68ce
commit ea2772d
Showing
39 changed files
with
2,877 additions
and
53 deletions.
There are no files selected for viewing
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,59 @@ | ||
name: 🌱 PSVita Builds | ||
on: | ||
workflow_call: | ||
|
||
# Global Settings | ||
env: | ||
GODOT_BASE_BRANCH: 3.5 | ||
SCONSFLAGS: verbose=yes warnings=all werror=no debug_symbols=no | ||
VITASDK: /usr/local/vitasdk | ||
EUID: 1 makepkg | ||
|
||
concurrency: | ||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-vita | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
vita-template: | ||
runs-on: "ubuntu-20.04" | ||
name: Template (target=release, tools=no) | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Azure repositories are not reliable, we need to prevent azure giving us packages. | ||
- name: Make apt sources.list use the default Ubuntu repositories | ||
run: | | ||
sudo rm -f /etc/apt/sources.list.d/* | ||
sudo cp -f misc/ci/sources.list /etc/apt/sources.list | ||
sudo apt-get update | ||
- name: Setup Godot build cache | ||
uses: ./.github/actions/godot-cache | ||
continue-on-error: true | ||
|
||
- name: Setup python and scons | ||
uses: ./.github/actions/godot-deps | ||
|
||
- name: Setup VitaSDK | ||
run: | | ||
sudo apt-get install cmake libarchive-tools fakeroot zip -y | ||
git clone https://github.com/vitasdk/vdpm | ||
git clone https://github.com/isage/vita-packages-extra | ||
cd vdpm | ||
./bootstrap-vitasdk.sh | ||
./install-all.sh | ||
export PATH=$VITASDK/bin:$PATH | ||
vdpm vita-rss-libdl | ||
cd ../vita-packages-extra/pvr_psp2 | ||
vita-makepkg | ||
vdpm *-arm.tar.xz | ||
- name: Compilation | ||
uses: ./.github/actions/godot-build | ||
with: | ||
sconsflags: ${{ env.SCONSFLAGS }} | ||
platform: vita | ||
target: release | ||
tools: false | ||
|
||
- name: Upload artifact | ||
uses: ./.github/actions/upload-artifact |
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
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.