-
Notifications
You must be signed in to change notification settings - Fork 0
113 lines (103 loc) · 3.94 KB
/
build-pixel2.yml
File metadata and controls
113 lines (103 loc) · 3.94 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
name: Build PPSSPPSDL_Pixel2
on:
workflow_dispatch:
inputs:
ppsspp_version:
description: "PPSSPP commit or tag"
default: "d357e6a32934800d3d80b49f910a603e1b069751"
workflow_call:
inputs:
ppsspp_version:
type: string
default: "d357e6a32934800d3d80b49f910a603e1b069751"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
- name: Ensure beta release exists
env:
GH_TOKEN: ${{ github.token }}
run: |
TAG="beta-${{ github.ref_name }}"
gh release view "$TAG" >/dev/null 2>&1 || \
gh release create "$TAG" \
--target "${{ github.ref_name }}" \
--title "Beta Build (${{ github.ref_name }})" \
--prerelease \
--notes "PPSSPP binaries built from ${{ github.ref_name }}" \
|| true
# - name: Restore ccache
# uses: actions/cache@v4
# with:
# path: ccache-pixel2
# key: ccache-pixel2-ppsspp-${{ github.sha }}
# restore-keys: ccache-pixel2-ppsspp-
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y build-essential \
ccache \
libglib2.0-dev \
libdrm-dev \
python3 \
python3-pip \
python3-setuptools \
python3-wheel \
ninja-build \
premake4 \
autoconf \
libevdev-dev \
ffmpeg \
libcurl4-openssl-dev \
libpipewire-0.3-dev \
libavcodec-dev \
libavformat-dev \
libavdevice-dev \
libsnappy-dev \
liblzma-dev \
pkg-config \
zlib1g-dev \
libpng-dev \
libsdl2-dev \
clang \
lld \
cmake \
cmake-data \
libgbm-dev \
libsdl2-ttf-2.0-0 \
libsdl2-ttf-dev \
wayland-protocols \
libglvnd-dev \
libglu1-mesa-dev \
freeglut3-dev \
libxcb-dri2-0 \
libzip-dev \
libfreetype6-dev \
libfontconfig1-dev \
libglew-dev
sudo apt autoremove -y
sudo apt clean
- name: Download libmali
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release download v1.9-1-4b399ed \
--repo ginkage/libmali-rockchip \
--pattern "libmali-bifrost-g31-g13p0-wayland-gbm_1.9-1_arm64.deb" \
--dir .
- name: Install libmali
run: |
sudo apt install -y ./libmali-bifrost-g31-g13p0-wayland-gbm_1.9-1_arm64.deb
rm libmali-bifrost-g31-g13p0-wayland-gbm_1.9-1_arm64.deb
- name: Build PPSSPP
run: |
chmod +x build-pixel2.sh
./build-pixel2.sh
- name: Upload binary
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release upload "beta-${{ github.ref_name }}" ppsspp/build/PPSSPPSDL_Pixel2 --clobber