Skip to content

Commit

Permalink
Added action for building PR's
Browse files Browse the repository at this point in the history
  • Loading branch information
nikarh committed Mar 4, 2024
1 parent dfe2140 commit 39674ca
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build examples

on:
pull_request:

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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build examples
name: Build and publish examples

on:
push:
Expand Down

0 comments on commit 39674ca

Please sign in to comment.