From 00545cb7b3824f069f1a839a04b8d8ad203eeec3 Mon Sep 17 00:00:00 2001 From: Nishi Date: Fri, 15 May 2026 01:44:17 +0900 Subject: [PATCH] oops --- Jenkinsfile | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..9dc6a7c --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,43 @@ +pipeline { + agent { + label "built-in" + } + stages { + stage("Build") { + parallel { + stage("Build for Linux 64-bit") { + agent { + label "built-in" + } + steps { + sh("make clean") + sh("make -j4 ") + sh("mv pmake pmake-linux64") + archiveArtifacts("pmake-linux64") + } + } + 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("make clean") + sh("make -j4 TARGET=Watcom") + sh("mv pmake.exe pmake-win32.exe") + archiveArtifacts("pmake-win32.exe") + } + } + } + post { + always { + notifyDiscord() + } + } + } + } +}