-
Notifications
You must be signed in to change notification settings - Fork 3
50 lines (42 loc) · 1.04 KB
/
payload.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
name: CI
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 SDK
uses: actions/checkout@v3
with:
repository: ps5-payload-dev/sdk
path: sdk
- name: Setup SDK
working-directory: sdk
run: |
sudo apt update
sudo apt install xxd clang-15 lld-15
make DESTDIR=${{ runner.tool_cache }}/ps5-payload-sdk clean install
echo PS5_PAYLOAD_SDK=${{ runner.tool_cache }}/ps5-payload-sdk >> $GITHUB_ENV
- name: Checkout Payload
uses: actions/checkout@v3
- name: Build Payload
run: |
bash libmicrohttpd.sh
make clean all
- name: Upload Payload
uses: actions/upload-artifact@v3
with:
name: Payload
path: ./websrv.elf
if-no-files-found: error