fixing ci
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
Nishi 2026-09-15 06:13:07 +09:00
commit 289338a23c

10
Jenkinsfile vendored
View file

@ -30,7 +30,7 @@ pipeline {
} }
steps { steps {
sh("apt-get update") sh("apt-get update")
sh("apt-get install build-essential libx11-dev wayland-protocols libwayland-dev") sh("apt-get install -y build-essential libx11-dev wayland-protocols libwayland-dev")
sh("git clean -dfx") sh("git clean -dfx")
sh("./configure --enable-opengl --enable-vulkan --without-vulkan-string-helper") sh("./configure --enable-opengl --enable-vulkan --without-vulkan-string-helper")
sh("make -j4") sh("make -j4")
@ -43,6 +43,8 @@ pipeline {
label "untrusted" label "untrusted"
} }
steps { steps {
sh("apt-get update")
sh("apt-get install -y build-essential mingw-w64-i686-dev")
sh("git clean -dfx") sh("git clean -dfx")
sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=i686-w64-mingw32") sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=i686-w64-mingw32")
sh("make -j4") sh("make -j4")
@ -57,6 +59,7 @@ pipeline {
} }
steps { steps {
sh("git clean -dfx") sh("git clean -dfx")
sh("apt-get install -y build-essential mingw-w64-x86-64-dev")
sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=x86_64-w64-mingw32") sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=x86_64-w64-mingw32")
sh("make -j4") sh("make -j4")
sh("mv src/Mw.dll Mw64.dll") sh("mv src/Mw.dll Mw64.dll")
@ -86,6 +89,11 @@ pipeline {
PATH = "/usr/watcom/binl64:${env.PATH}" PATH = "/usr/watcom/binl64:${env.PATH}"
} }
steps { steps {
sh("git clean -dfx")
sh("apt-get install -y wget")
sh("wget https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/ow-snapshot.tar.xz")
sh("mkdir -p /usr/watcom")
sh("tar xvf ow-snapshot.tar.xz -C /usr/watcom")
sh("git clean -dfx") sh("git clean -dfx")
sh("wmake -f WatMakefile") sh("wmake -f WatMakefile")
sh("mv src/Mw.dll MwWat32.dll") sh("mv src/Mw.dll MwWat32.dll")