File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Based on CanerKaraca23 build script
1+ # Based on CanerKaraca20 build script
22name : Build ModelExtras
33
44on :
@@ -30,11 +30,11 @@ jobs:
3030 # Add LLVM APT repository
3131 wget https://apt.llvm.org/llvm-snapshot.gpg.key
3232 sudo apt-key add llvm-snapshot.gpg.key
33- sudo add-apt-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-23 main"
33+ sudo add-apt-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-20 main"
3434 sudo apt-get update
3535
36- # Install Clang 23
37- sudo apt-get install -y clang-23 clang++-23 g++-mingw-w64-i686
36+ # Install Clang 20
37+ sudo apt-get install -y clang-20 clang++-20 g++-mingw-w64-i686
3838
3939 - name : Get latest plugin-sdk commit
4040 id : plugin-sdk-ref
@@ -67,10 +67,10 @@ jobs:
6767
6868 # Parallel build
6969 find shared plugin_sa safetyhook -name '*.cpp' -print0 | \
70- xargs -0 -P$(nproc) -I{} clang++-23 $CLANG_FLAGS -std=c++2b $FLAGS -c {} -o obj/{}.o
70+ xargs -0 -P$(nproc) -I{} clang++-20 $CLANG_FLAGS -std=c++2b $FLAGS -c {} -o obj/{}.o
7171
7272 find safetyhook -name '*.c' -print0 | \
73- xargs -0 -P$(nproc) -I{} clang-23 $CLANG_FLAGS $FLAGS -c {} -o obj/{}.o
73+ xargs -0 -P$(nproc) -I{} clang-20 $CLANG_FLAGS $FLAGS -c {} -o obj/{}.o
7474
7575 find obj -name '*.o' | xargs i686-w64-mingw32-ar rcs output/lib/libplugin.a
7676
8484 run : |
8585 xmake f -m release \
8686 --mingw=/usr \
87- --cc=clang-23 \
88- --cxx=clang++-23 \
87+ --cc=clang-20 \
88+ --cxx=clang++-20 \
8989 -c -y
9090 xmake -j$(nproc)
9191
You can’t perform that action at this time.
0 commit comments