-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 8dde8d0
Showing
19 changed files
with
2,169 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Build examples | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.head_ref || github.ref_name }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/vita-rust/vitasdk-rs | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Build | ||
run: | | ||
cargo vita build vpk --release --package vita-std-tests --tests | ||
cargo vita build vpk --release | ||
mv target/armv7-sony-vita-newlibeabihf/release/deps/*.vpk target/armv7-sony-vita-newlibeabihf/release/ | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: examples | ||
path: target/armv7-sony-vita-newlibeabihf/release/*.vpk | ||
release: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Download Artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: examples | ||
- name: Delete old release assets | ||
uses: mknejp/delete-release-assets@v1 | ||
with: | ||
token: ${{ github.token }} | ||
tag: latest | ||
assets: '*' | ||
fail-if-no-release: false | ||
fail-if-no-assets: false | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
name: Latest | ||
body: > | ||
This release is automatically updated by a Github Action on every push to the main branch. | ||
tag_name: latest | ||
generate_release_notes: false | ||
files: | | ||
*.vpk |
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,7 @@ | ||
.vscode/* | ||
!.vscode/settings.json | ||
|
||
target/ | ||
.DS_Store | ||
.tmp | ||
.envrc |
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,3 @@ | ||
{ | ||
"rust-analyzer.cargo.target": "armv7-sony-vita-newlibeabihf" | ||
} |
Oops, something went wrong.