Skip to content

Commit 39674ca

Browse files
committed
Added action for building PR's
1 parent dfe2140 commit 39674ca

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build examples
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
container:
10+
image: ghcr.io/vita-rust/vitasdk-rs
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
- name: Build
15+
run: |
16+
cargo vita build vpk --release --package vita-std-tests --tests
17+
cargo vita build vpk --release
18+
mv target/armv7-sony-vita-newlibeabihf/release/deps/*.vpk target/armv7-sony-vita-newlibeabihf/release/
19+
- name: Upload Artifacts
20+
uses: actions/upload-artifact@v3
21+
with:
22+
name: examples
23+
path: target/armv7-sony-vita-newlibeabihf/release/*.vpk

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build examples
1+
name: Build and publish examples
22

33
on:
44
push:

0 commit comments

Comments
 (0)