Skip to content

Commit 8dde8d0

Browse files
committed
Initial
0 parents  commit 8dde8d0

File tree

19 files changed

+2169
-0
lines changed

19 files changed

+2169
-0
lines changed

.github/workflows/release.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Build examples
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency:
9+
group: ${{ github.head_ref || github.ref_name }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
container:
16+
image: ghcr.io/vita-rust/vitasdk-rs
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
- name: Build
21+
run: |
22+
cargo vita build vpk --release --package vita-std-tests --tests
23+
cargo vita build vpk --release
24+
mv target/armv7-sony-vita-newlibeabihf/release/deps/*.vpk target/armv7-sony-vita-newlibeabihf/release/
25+
- name: Upload Artifacts
26+
uses: actions/upload-artifact@v3
27+
with:
28+
name: examples
29+
path: target/armv7-sony-vita-newlibeabihf/release/*.vpk
30+
release:
31+
needs: build
32+
runs-on: ubuntu-latest
33+
34+
steps:
35+
- name: Download Artifacts
36+
uses: actions/download-artifact@v2
37+
with:
38+
name: examples
39+
- name: Delete old release assets
40+
uses: mknejp/delete-release-assets@v1
41+
with:
42+
token: ${{ github.token }}
43+
tag: latest
44+
assets: '*'
45+
fail-if-no-release: false
46+
fail-if-no-assets: false
47+
- name: Release
48+
uses: softprops/action-gh-release@v1
49+
with:
50+
name: Latest
51+
body: >
52+
This release is automatically updated by a Github Action on every push to the main branch.
53+
tag_name: latest
54+
generate_release_notes: false
55+
files: |
56+
*.vpk

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.vscode/*
2+
!.vscode/settings.json
3+
4+
target/
5+
.DS_Store
6+
.tmp
7+
.envrc

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"rust-analyzer.cargo.target": "armv7-sony-vita-newlibeabihf"
3+
}

0 commit comments

Comments
 (0)