-
-
Notifications
You must be signed in to change notification settings - Fork 76
198 lines (188 loc) · 8.5 KB
/
build-msys2.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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
name: Build Chiaki4deck msys2 Windows
on:
workflow_dispatch:
jobs:
build-windows_x64-msys2:
name: Build windows msys2 version
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- name: Disable autocrlf
shell: pwsh
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
install: git
pacboy: >-
ca-certificates:p
cc:p
cmake:p
curl:p
fast_float:p
ffmpeg:p
fftw:p
hidapi:p
lcms2:p
libdovi:p
meson:p
nasm:p
ninja:p
openssl:p
opus:p
pkgconf:p
protobuf-c:p
python:p
python-glad:p
python-jinja:p
python-pip:p
qt5-declarative:p
qt6-base:p
qt6-declarative:p
qt6-svg:p
shaderc:p
speexdsp:p
spirv-cross:p
vulkan:p
vulkan-headers:p
- name: Install python protobuf and zip
run: |
pip install protobuf
pacman -S zip git --noconfirm
- name: Build libbplacebo
run: |
scripts/build-libplacebo.sh
- name: Configure Chiaki4deck
run: |
cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCHIAKI_ENABLE_CLI=OFF
- name: Build Chiaki4deck
run: |
cmake --build build --config Release --clean-first --target chiaki
- name: Deploy qt6-base:p
run: |
mkdir Chiaki4deck-Win
cp build/gui/chiaki.exe Chiaki4deck-Win
cp build/third-party/cpp-steam-tools/libcpp-steam-tools.dll Chiaki4deck-Win/
cp /mingw64/bin/libcrypto-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libssl-*.dll Chiaki4deck-Win/
cp /mingw64/bin/SDL2.dll Chiaki4deck-Win/
cp /mingw64/bin/swresample-*.dll Chiaki4deck-Win/
cp /mingw64/bin/avcodec-*.dll Chiaki4deck-Win/
cp /mingw64/bin/avutil-*.dll Chiaki4deck-Win/
cp /mingw64/bin/avformat-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libgcc_s_seh-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libopus-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libfftw3-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libplacebo-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libbluray-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libspeexdsp-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libstdc++-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libbz2-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libgme.dll Chiaki4deck-Win/
cp /mingw64/bin/libgnutls-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libiconv-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libmodplug-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libhidapi-*.dll Chiaki4deck-Win/
cp /mingw64/bin/librtmp-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libsrt.dll Chiaki4deck-Win/
cp /mingw64/bin/libssh.dll Chiaki4deck-Win/
cp /mingw64/bin/libxml2-*.dll Chiaki4deck-Win/
cp /mingw64/bin/zlib1.dll Chiaki4deck-Win/
cp /mingw64/bin/libaom.dll Chiaki4deck-Win/
cp /mingw64/bin/libcairo-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libdav1d-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libglib-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libgsm.dll Chiaki4deck-Win/
cp /mingw64/bin/libgobject-*.dll Chiaki4deck-Win/
cp /mingw64/bin/liblzma-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libintl-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libmp3lame-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libwinpthread-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libva.dll Chiaki4deck-Win/
cp /mingw64/bin/libva_win32.dll Chiaki4deck-Win/
cp /mingw64/bin/libvpl.dll Chiaki4deck-Win/
cp /mingw64/bin/libopencore-amrnb-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libopenjp2-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libopencore-amrwb-*.dll Chiaki4deck-Win/
cp /mingw64/bin/rav1e.dll Chiaki4deck-Win/
cp /mingw64/bin/librsvg-*.dll Chiaki4deck-Win/
cp /mingw64/bin/liblcms2-*.dll Chiaki4deck-Win/
cp /mingw64/bin/dovi.dll Chiaki4deck-Win/
cp /mingw64/bin/libspeex-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libshaderc_shared.dll Chiaki4deck-Win/
cp /mingw64/bin/libtheoradec-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libSvtAv1Enc.dll Chiaki4deck-Win/
cp /mingw64/bin/libtheoraenc-1.dll Chiaki4deck-Win/
cp /mingw64/bin/libvorbis-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libspirv-cross-c-shared.dll Chiaki4deck-Win/
cp /mingw64/bin/libvorbisenc-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libvpx-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libwebp-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libx265.dll Chiaki4deck-Win/
cp /mingw64/bin/libwebpmux-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libx264-*.dll Chiaki4deck-Win/
cp /mingw64/bin/xvidcore.dll Chiaki4deck-Win/
cp /mingw64/bin/libbrotlienc.dll Chiaki4deck-Win/
cp /mingw64/bin/libbrotlidec.dll Chiaki4deck-Win/
cp /mingw64/bin/libfreetype-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libgmp-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libhogweed-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libnettle-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libidn2-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libpng*.dll Chiaki4deck-Win/
cp /mingw64/bin/libharfbuzz-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libmd4c.dll Chiaki4deck-Win/
cp /mingw64/bin/libzstd.dll Chiaki4deck-Win/
cp /mingw64/bin/libicuuc*.dll Chiaki4deck-Win/
cp /mingw64/bin/libb2-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libdouble-conversion.dll Chiaki4deck-Win/
cp /mingw64/bin/libicuin*.dll Chiaki4deck-Win/
cp /mingw64/bin/libpcre2-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libp11-kit-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libtasn1-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libunistring-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libfontconfig-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libpixman-1-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libffi-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libgdk_pixbuf-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libpango-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libcairo-gobject-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libgio-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libpangocairo-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libogg-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libsharpyuv-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libsoxr.dll Chiaki4deck-Win/
cp /mingw64/bin/libbrotlicommon.dll Chiaki4deck-Win/
cp /mingw64/bin/libicudt*.dll Chiaki4deck-Win/
cp /mingw64/bin/libgraphite*.dll Chiaki4deck-Win/
cp /mingw64/bin/libexpat*.dll Chiaki4deck-Win/
cp /mingw64/bin/libfribidi-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libthai-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libgmodule-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libpangoft2-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libpangowin32-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libgomp-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libdatrie-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libjxl*.dll Chiaki4deck-Win/
cp /mingw64/bin/libzvbi-*.dll Chiaki4deck-Win/
cp /mingw64/bin/libhwy*.dll Chiaki4deck-Win/
/mingw64/bin/windeployqt6.exe --no-translations --qmldir=$PWD/gui/src/qml --release Chiaki4deck-Win/chiaki.exe
cp -R /mingw64/share/qt6/qml/QtQuick Chiaki4deck-Win/qml/
cp -R /mingw64/share/qt6/qml/QtQml/WorkerScript/ Chiaki4deck-Win/qml/QtQml/
cp /mingw64/bin/Qt6QmlWorkerScript.dll Chiaki4deck-Win/
zip -r Chiaki4deck-Win.zip Chiaki4deck-Win/
- name: Upload Chiaki4deck Artifact
uses: actions/upload-artifact@v3
with:
name: Chiaki4deck-win_x64-MSYS2-Release
path: Chiaki4deck-Win.zip
if-no-files-found: error
retention-days: 1