-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (38 loc) · 976 Bytes
/
sdk.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
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:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
run: |
sudo apt update
sudo apt install bash socat cmake pkg-config clang-15 lld-15
- name: Build
run: |
make
make DESTDIR=${{ runner.tool_cache }}/ps5-payload-sdk install
PS5_PAYLOAD_SDK=${{ runner.tool_cache }}/ps5-payload-sdk ./libcxx.sh
tar -zcf ps5-payload-sdk.tar.gz -C ${{ runner.tool_cache }}/ps5-payload-sdk .
- name: Test
run: bash ci.sh
- name: Upload
uses: actions/upload-artifact@v3
with:
name: SDK
path: ./ps5-payload-sdk.tar.gz
if-no-files-found: error