This commit is contained in:
parent
289338a23c
commit
ac7373ebfc
1 changed files with 7 additions and 5 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
|
@ -44,9 +44,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh("apt-get update")
|
sh("apt-get update")
|
||||||
sh("apt-get install -y build-essential mingw-w64-i686-dev")
|
sh("apt-get install -y make mingw-w64")
|
||||||
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 --cross --target=Windows --host=i686-w64-mingw32")
|
||||||
sh("make -j4")
|
sh("make -j4")
|
||||||
sh("mv src/Mw.dll Mw32.dll")
|
sh("mv src/Mw.dll Mw32.dll")
|
||||||
sh("mv src/libMw.dll.a libMw32.dll.a")
|
sh("mv src/libMw.dll.a libMw32.dll.a")
|
||||||
|
|
@ -58,9 +58,10 @@ pipeline {
|
||||||
label "untrusted"
|
label "untrusted"
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
sh("apt-get update")
|
||||||
|
sh("apt-get install -y make mingw-w64")
|
||||||
sh("git clean -dfx")
|
sh("git clean -dfx")
|
||||||
sh("apt-get install -y build-essential mingw-w64-x86-64-dev")
|
sh("./configure --enable-opengl --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")
|
||||||
sh("mv src/libMw.dll.a libMw64.dll.a")
|
sh("mv src/libMw.dll.a libMw64.dll.a")
|
||||||
|
|
@ -89,8 +90,9 @@ pipeline {
|
||||||
PATH = "/usr/watcom/binl64:${env.PATH}"
|
PATH = "/usr/watcom/binl64:${env.PATH}"
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh("git clean -dfx")
|
sh("apt-get update")
|
||||||
sh("apt-get install -y wget")
|
sh("apt-get install -y wget")
|
||||||
|
sh("git clean -dfx")
|
||||||
sh("wget https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/ow-snapshot.tar.xz")
|
sh("wget https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/ow-snapshot.tar.xz")
|
||||||
sh("mkdir -p /usr/watcom")
|
sh("mkdir -p /usr/watcom")
|
||||||
sh("tar xvf ow-snapshot.tar.xz -C /usr/watcom")
|
sh("tar xvf ow-snapshot.tar.xz -C /usr/watcom")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue