forked from pyrite-dev/pmake
oops
This commit is contained in:
parent
39a6f5854a
commit
00545cb7b3
1 changed files with 43 additions and 0 deletions
43
Jenkinsfile
vendored
Normal file
43
Jenkinsfile
vendored
Normal file
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue