-
Notifications
You must be signed in to change notification settings - Fork 62
51 lines (48 loc) · 1.34 KB
/
ci-psvita.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: PlayStation Vita CI Build
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
psvita-build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Install Deps
run: |
sudo apt install libarchive-tools libudev-dev
- name: Setup Environment Variables
run: |
echo "VITASDK=/vitasdk" >> $GITHUB_ENV
echo "PATH=/vitasdk/bin:$PATH" >> $GITHUB_ENV
- name: Install vitasdk
run: |
git clone https://github.com/vitasdk/vdpm
cd vdpm
./bootstrap-vitasdk.sh
./install-all.sh
- name: Install ffmpeg
run: |
cd yaobow/misc/
vita-makepkg
vdpm ffmpeg-6.0-1-arm.tar.xz
- name: Build
run: |
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
cargo install cargo-make
cd yaobow/yaobow
cargo make vpk
- uses: actions/upload-artifact@v3
with:
name: yaobow-vpk
path: yaobow/yaobow/target/armv7-sony-vita-newlibeabihf/vita-release/yaobow.vpk