99concurrency :
1010 group : ${{ github.workflow }}-${{ github.ref }}
1111 cancel-in-progress : true
12-
12+
1313jobs :
1414 build-linux :
1515 name : Build Linux
1818 matrix :
1919 preset : ["linux-debug", "linux-release", "linux-relwithdebinfo"]
2020 env :
21- LLVM_VERSION : 18
21+ LLVM_VERSION : 20
2222 CMAKE_PRESET : ${{ matrix.preset }}
2323
2424 steps :
3838 uses :
hendrikmuhs/[email protected] 3939 with :
4040 key : ccache-${{ runner.os }}-${{ matrix.preset }}
41-
41+
4242 - name : Cache vcpkg
4343 uses : actions/cache@v4
4444 with :
5252 - name : Install Dependencies (Linux)
5353 run : |-
5454 sudo apt update
55- sudo apt install -y ninja-build llvm -${{ env.LLVM_VERSION }}-dev libgtk-3-dev
55+ sudo apt install -y ninja-build clang -${{ env.LLVM_VERSION }} libgtk-3-dev
5656
5757 - name : Cache ccache Directory
5858 uses : actions/cache@v4
@@ -62,11 +62,11 @@ jobs:
6262
6363 - name : Prepare Project
6464 run : cp ./private/* ./UnleashedRecompLib/private
65-
65+
6666 - name : Configure Project
6767 env :
6868 CCACHE_DIR : /tmp/ccache
69- run : cmake . --preset ${{ env.CMAKE_PRESET }} -DSDL2MIXER_VORBIS=VORBISFILE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache
69+ run : PATH="/usr/lib/llvm-${{ env.LLVM_VERSION }}/bin:$PATH" cmake . --preset ${{ env.CMAKE_PRESET }} -DSDL2MIXER_VORBIS=VORBISFILE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache
7070
7171 - name : Build Project
7272 env :
@@ -119,7 +119,7 @@ jobs:
119119 run : |
120120 choco install ninja
121121 Remove-Item -Path "C:\ProgramData\Chocolatey\bin\ccache.exe" -Force -ErrorAction SilentlyContinue
122-
122+
123123 - name : Configure Developer Command Prompt
124124 uses : ilammy/msvc-dev-cmd@v1
125125
@@ -134,7 +134,7 @@ jobs:
134134
135135 - name : Build Project
136136 run : cmake --build .\out\build\${{ env.CMAKE_PRESET }} --target UnleashedRecomp
137-
137+
138138 - name : Pack Release
139139 run : |
140140 New-Item -ItemType Directory -Path .\release
@@ -162,8 +162,6 @@ jobs:
162162 runs-on : ubuntu-24.04
163163 env :
164164 FLATPAK_ID : io.github.hedge_dev.unleashedrecomp
165- FREEDESKTOP_VERSION : 23.08
166- LLVM_VERSION : 18
167165
168166 steps :
169167 - name : Checkout Repository
@@ -190,13 +188,11 @@ jobs:
190188 key : ccache-${{ runner.os }}
191189
192190 - name : Prepare Project
193- run : cp ./private/* ./UnleashedRecompLib/private
191+ run : cp ./private/* ./UnleashedRecompLib/private
194192
195193 - name : Prepare Flatpak
196194 run : |
197195 flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
198- flatpak --user install -y flathub org.freedesktop.Sdk//${{ env.FREEDESKTOP_VERSION }}
199- flatpak --user install -y flathub org.freedesktop.Sdk.Extension.llvm${{ env.LLVM_VERSION }}//${{ env.FREEDESKTOP_VERSION }}
200196
201197 - name : Build Flatpak
202198 run : |
0 commit comments