taiga/Jenkinsfile

57 lines
1.2 KiB
Text
Raw Normal View History

2026-03-01 22:48:04 +09:00
pipeline {
agent {
label "built-in"
}
stages {
stage("Build") {
parallel {
stage("Build for Linux 64-bit") {
agent {
label "built-in"
}
steps {
2026-03-01 22:57:19 +09:00
sh("git submodule update --init --recursive --force")
2026-03-06 21:37:53 +09:00
sh("make clean")
2026-03-01 22:48:04 +09:00
sh("make -j4 CC=musl-gcc LDFLAGS=-static")
2026-03-03 01:05:42 +09:00
sh("mv taiga taiga-linux64")
archiveArtifacts("taiga-linux64")
}
}
2026-03-06 21:32:23 +09:00
stage("Build for Linux 64-bit (Debug)") {
agent {
label "built-in"
}
steps {
sh("git submodule update --init --recursive --force")
2026-03-06 21:37:53 +09:00
sh("make clean")
2026-03-06 21:32:23 +09:00
sh("make -j4 CC='musl-gcc -g' LDFLAGS=-static")
sh("mv taiga taiga-debug-linux64")
archiveArtifacts("taiga-debug-linux64")
}
}
2026-03-03 01:05:42 +09:00
stage("Build for Windows 32-bit") {
agent {
label "built-in"
}
environment {
WATCOM = "/usr/watcom"
INCLUDE = "/usr/watcom/h:/usr/watcom/h/nt"
PATH = "/usr/watcom/binl64:${env.PATH}"
}
steps {
sh("git submodule update --init --recursive --force")
2026-03-06 21:37:53 +09:00
sh("make clean")
2026-03-05 03:45:08 +09:00
sh("make -j4 -f Makefile.watcom")
2026-03-03 01:05:42 +09:00
sh("mv taiga.exe taiga-win32.exe")
archiveArtifacts("taiga-win32.exe")
2026-03-01 22:48:04 +09:00
}
}
}
post {
always {
notifyDiscord()
}
}
}
}
}