forked from EchoStretch/kstuff-lite
-
Notifications
You must be signed in to change notification settings - Fork 2
75 lines (65 loc) · 1.61 KB
/
Copy pathci.yml
File metadata and controls
75 lines (65 loc) · 1.61 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: Rebuild With New SDK
on:
push:
paths-ignore:
- "**/*.md"
- '**/*.txt'
pull_request:
paths-ignore:
- "**/*.md"
- '**/*.txt'
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
payload-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout pacbrew-repo
uses: actions/checkout@v4
with:
repository: ps5-payload-dev/pacbrew-repo
path: pacbrew-repo
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y \
autoconf \
automake \
build-essential \
clang-18 \
curl \
git \
libarchive-tools \
libtool \
lld-18 \
makepkg \
meson \
nasm \
pacman-package-manager \
pkg-config \
xxd \
yasm
- name: Build PS5 payload SDK
working-directory: pacbrew-repo/sdk
run: |
makepkg -c -f
sudo pacman --noconfirm -U ./ps5-payload-*.pkg.tar.gz
- name: Build PS5 sqlite package
working-directory: pacbrew-repo/sqlite
run: |
makepkg -c -f
sudo pacman --noconfirm -U ./ps5-payload-*.pkg.tar.gz
- name: Build Payload
run: |
export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk
bash ci-ps5-kstuff-ldr.sh
- name: Upload Payload
uses: actions/upload-artifact@v4
with:
name: Payload
path: ./ps5-kstuff-ldr/kstuff.elf
if-no-files-found: error