1- name : Build RPCS3
1+ name : Build RPCS3 Qt UI (Legacy)
22
33defaults :
44 run :
3636 docker_img : " rpcs3/rpcs3-ci-jammy-aarch64:1.4"
3737 build_sh : " rpcs3/.ci/build-linux-aarch64.sh"
3838 compiler : clang
39- name : RPCS3 QT UI for Linux ${{ matrix.os }} ${{ matrix.compiler }}
39+ name : RPCS3 Qt UI (Legacy) for Linux ${{ matrix.os }} ${{ matrix.compiler }}
4040 runs-on : ${{ matrix.os }}
4141 env :
4242 CCACHE_DIR : ${{ github.workspace }}/ccache
4646 ARTDIR : " /root/artifacts"
4747 RELEASE_MESSAGE : " /rpcs3/GitHubReleaseMessage.txt"
4848 COMPILER : ${{ matrix.compiler }}
49+ RX_VERSION : " Unknown"
50+ RX_SHA : " Unknown"
4951 steps :
5052 - name : Checkout repository
5153 uses : actions/checkout@main
@@ -71,15 +73,38 @@ jobs:
7173 ${{ matrix.docker_img }} \
7274 ${{ matrix.build_sh }}
7375
76+ RX_VERSION=`cat .rx.version | awk -F'-' '{print $1}'`
77+ RX_SHA=`cat .rx.version | awk -F'-' '{print $5}'`
78+
79+ echo "RX_VERSION=$RX_VERSION" >> "${{ github.env }}"
80+ echo "RX_SHA=$RX_SHA" >> "${{ github.env }}"
81+ mv RPCS3-Qt-UI.AppImage RPCS3-Qt-UI-Linux-${{ runner.arch }}-${{ matrix.compiler }}.AppImage
82+
7483 - name : Upload artifacts
7584 uses : actions/upload-artifact@main
7685 with :
77- name : RPCS3 QT UI for Linux (${{ runner.arch }}, ${{ matrix.compiler }})
78- path : ${{ env.BUILD_ARTIFACTSTAGINGDIRECTORY }}/* .AppImage
86+ name : RPCS3 Qt UI (Legacy) for Linux (${{ runner.arch }}, ${{ matrix.compiler }})
87+ path : RPCS3-Qt-UI-Linux- ${{ runner.arch }}-${{ matrix.compiler }} .AppImage
7988 compression-level : 0
8089
90+ - name : Deploy build
91+ uses : softprops/action-gh-release@v2
92+ if : |
93+ github.event_name != 'pull_request' &&
94+ github.ref == 'refs/heads/master' &&
95+ github.repository == 'RPCSX/rpcsx'
96+ with :
97+ prerelease : false
98+ make_latest : true
99+ repository : RPCSX/rpcsx-build
100+ token : ${{ secrets.BUILD_TOKEN }}
101+ tag_name : v${{ env.RX_VERSION }}-${{ env.RX_SHA }}
102+ files : RPCS3-Qt-UI-Linux-${{ runner.arch }}-${{ matrix.compiler }}.AppImage
103+ body : ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}
104+
105+
81106 Windows_Build :
82- name : RPCS3 QT UI Windows
107+ name : RPCS3 Qt UI (Legacy) for Windows
83108 runs-on : windows-2025
84109 env :
85110 COMPILER : msvc
96121 CCACHE_INODECACHE : ' true'
97122 CCACHE_SLOPPINESS : ' time_macros'
98123 DEPS_CACHE_DIR : ./dependency_cache
99- steps :
100124
125+ steps :
101126 - name : Checkout repository
102127 uses : actions/checkout@main
103128 with :
@@ -108,22 +133,22 @@ jobs:
108133 echo "QTDIR=C:\Qt\${{ env.QT_VER }}\${{ env.QT_VER_MSVC }}_64" >> ${{ github.env }}
109134 echo "VULKAN_SDK=C:\VulkanSDK\${{ env.VULKAN_VER }}" >> ${{ github.env }}
110135
111- - name : Get Cache Keys
112- run : .ci/get_keys-windows.sh
136+ # - name: Get Cache Keys
137+ # run: .ci/get_keys-windows.sh
113138
114- - name : Setup Build Ccache
115- uses : actions/cache@main
116- with :
117- path : ${{ env.CCACHE_DIR }}
118- key : " ${{ runner.os }}-ccache-${{ env.COMPILER }}-${{github.run_id}}"
119- restore-keys : ${{ runner.os }}-ccache-${{ env.COMPILER }}-
139+ # - name: Setup Build Ccache
140+ # uses: actions/cache@main
141+ # with:
142+ # path: ${{ env.CCACHE_DIR }}
143+ # key: "${{ runner.os }}-ccache-${{ env.COMPILER }}-${{github.run_id}}"
144+ # restore-keys: ${{ runner.os }}-ccache-${{ env.COMPILER }}-
120145
121- - name : Setup Dependencies Cache
122- uses : actions/cache@main
123- with :
124- path : ${{ env.DEPS_CACHE_DIR }}
125- key : " ${{ runner.os }}-${{ env.COMPILER }}-${{ env.QT_VER }}-${{ env.VULKAN_SDK_SHA }}-${{ env.CCACHE_SHA }}-${{ hashFiles('llvm.lock') }}-${{ hashFiles('glslang.lock') }}"
126- restore-keys : ${{ runner.os }}-${{ env.COMPILER }}-
146+ # - name: Setup Dependencies Cache
147+ # uses: actions/cache@main
148+ # with:
149+ # path: ${{ env.DEPS_CACHE_DIR }}
150+ # key: "${{ runner.os }}-${{ env.COMPILER }}-${{ env.QT_VER }}-${{ env.VULKAN_SDK_SHA }}-${{ env.CCACHE_SHA }}-${{ hashFiles('llvm.lock') }}-${{ hashFiles('glslang.lock') }}"
151+ # restore-keys: ${{ runner.os }}-${{ env.COMPILER }}-
127152
128153 - name : Download and unpack dependencies
129154 run : .ci/setup-windows.sh
@@ -136,23 +161,50 @@ jobs:
136161 echo "$key=$val" >> "${{ github.env }}"
137162 done < .ci/ci-vars.env
138163
139- - name : Add msbuild to PATH
140- uses : microsoft/setup-msbuild@main
164+ # - name: Add msbuild to PATH
165+ # uses: microsoft/setup-msbuild@main
141166
142- - name : Compile RPCS3 QT UI
167+ - name : Configure
143168 run : |
144169 cmake -B build-msvc -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DWITH_RPCSX=off -DWITH_RPCS3=on -DWITH_RPCS3_QT_UI=on -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DCMAKE_INSTALL_PREFIX="${sourceDir}/out/install/${presetName}" -DUSE_NATIVE_INSTRUCTIONS=on -DUSE_PRECOMPILED_HEADERS=on -DUSE_FAUDIO=off -DUSE_SYSTEM_CURL=off -DUSE_SYSTEM_ZLIB=off -DUSE_SYSTEM_OPENAL=off -DUSE_SYSTEM_OPENCV=off -DBUILD_LLVM=on -DSTATIC_LINK_LLVM=on
170+
171+ - name : Export Version
172+ run : |
173+ RX_VERSION=`cat .rx.version | awk -F'-' '{print $1}'`
174+ RX_SHA=`cat .rx.version | awk -F'-' '{print $5}'`
175+ echo "RX_VERSION=$RX_VERSION" >> "${{ github.env }}"
176+ echo "RX_SHA=$RX_SHA" >> "${{ github.env }}"
177+
178+ - name : Build
179+ run : |
145180 cmake --build build-msvc --config Release
146181
182+
147183 - name : Pack up build artifacts
148184 run : |
149185 mkdir -p "${{ env.BUILD_ARTIFACTSTAGINGDIRECTORY }}"
150186 .ci/deploy-windows.sh
187+ mv RPCS3-Qt-UI.7z RPCS3-Qt-UI-Windows-${{ runner.arch }}-${{ env.COMPILER }}.7z
151188
152189 - name : Upload artifacts (7z)
153190 uses : actions/upload-artifact@main
154191 with :
155- name : RPCS3 QT UI for Windows (MSVC)
156- path : ${{ env.BUILD_ARTIFACTSTAGINGDIRECTORY }}
192+ name : RPCS3 Qt UI (Legacy) for Windows (MSVC)
193+ path : RPCS3-Qt-UI-Windows- ${{ runner.arch }}-${{ env.COMPILER }}.7z
157194 compression-level : 0
158195 if-no-files-found : error
196+
197+ - name : Deploy build
198+ uses : softprops/action-gh-release@v2
199+ if : |
200+ github.event_name != 'pull_request' &&
201+ github.ref == 'refs/heads/master' &&
202+ github.repository == 'RPCSX/rpcsx'
203+ with :
204+ prerelease : false
205+ make_latest : true
206+ repository : RPCSX/rpcsx-build
207+ token : ${{ secrets.BUILD_TOKEN }}
208+ tag_name : v${{ env.RX_VERSION }}-${{ env.RX_SHA }}
209+ files : RPCS3-Qt-UI-Windows-${{ runner.arch }}-${{ env.COMPILER }}.7z
210+ body : ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}
0 commit comments