File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -93,28 +93,21 @@ jobs:
9393 needs : [windows, macos]
9494 runs-on : ubuntu-24.04
9595 container :
96- image : amd64/centos:7.9.2009
96+ image : amd64/ubuntu:20.04
9797 steps :
9898 - uses : actions/checkout@v4
9999 - name : install dependencies
100100 run : |
101101 set -e -x
102- curl -Lo cmake-3.23.2-linux-x86_64.tar.gz 'https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-linux-x86_64.tar.gz'
103- echo "aaced6f745b86ce853661a595bdac6c5314a60f8181b6912a0a4920acfa32708 cmake-3.23.2-linux-x86_64.tar.gz" | sha256sum -c
104- tar -xf cmake-3.23.2-linux-x86_64.tar.gz
105- mv cmake-3.23.2-linux-x86_64 cmake
106- yum -y install libX11-devel mesa-libGL-devel java-11-openjdk-devel "@Development Tools"
102+ apt install -y cmake openjdk-11-jdk libgl-dev
107103 - uses : actions/download-artifact@v4
108104 with :
109105 path : jar/net/runelite/rlawt/
110106 - name : build linux-amd64
111107 run : |
112108 set -e -x
113- mkdir -p build/linux-amd64
114- cd build/linux-amd64
115- ../../cmake/bin/cmake ../../
116- ../../cmake/bin/cmake --build . --config Release
117- cd ../../
109+ cmake -B build/linux-amd64 .
110+ cmake --build build/linux-amd64 --config Release
118111 mkdir jar/net/runelite/rlawt/linux-amd64
119112 cp build/linux-amd64/librlawt.so jar/net/runelite/rlawt/linux-amd64/
120113 cp -r build/linux-amd64/CMakeFiles/jar.dir/net jar/
You can’t perform that action at this time.
0 commit comments