mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 03:12:18 -05:00
Move macOS to parallel stage
This commit is contained in:
parent
e42b18cf71
commit
bd22074ec8
65
Jenkinsfile
vendored
65
Jenkinsfile
vendored
@ -120,41 +120,38 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
stage ('Build macOS') {
|
||||||
}
|
agent {
|
||||||
stage ('Build macOS') {
|
label "SoH-Mac-Builders"
|
||||||
agent {
|
}
|
||||||
label "SoH-Mac-Builders"
|
steps {
|
||||||
}
|
checkout([
|
||||||
steps {
|
$class: 'GitSCM',
|
||||||
checkout([
|
branches: scm.branches,
|
||||||
$class: 'GitSCM',
|
doGenerateSubmoduleConfigurations: scm.doGenerateSubmoduleConfigurations,
|
||||||
branches: scm.branches,
|
extensions: scm.extensions,
|
||||||
doGenerateSubmoduleConfigurations: scm.doGenerateSubmoduleConfigurations,
|
userRemoteConfigs: scm.userRemoteConfigs
|
||||||
extensions: scm.extensions,
|
])
|
||||||
userRemoteConfigs: scm.userRemoteConfigs
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
])
|
sh '''
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
cp ../../ZELOOTD.z64 OTRExporter/baserom_non_mq.z64
|
||||||
sh '''
|
cd soh
|
||||||
cp ../../ZELOOTD.z64 OTRExporter/baserom_non_mq.z64
|
make setup -j4 DEBUG=0 CC=gcc-12 CXX=g++-12
|
||||||
|
make -j4 DEBUG=0 CC=gcc-12 CXX=g++-12
|
||||||
cd soh
|
make -j4 appbundle
|
||||||
make setup -j4 DEBUG=0 CC=gcc-12 CXX=g++-12
|
mv ../README.md readme.txt
|
||||||
make -j4 DEBUG=0 CC=gcc-12 CXX=g++-12
|
7z a soh-mac.7z soh.app readme.txt
|
||||||
|
'''
|
||||||
make -j4 appbundle
|
}
|
||||||
|
archiveArtifacts artifacts: 'soh/soh-mac.7z', followSymlinks: false, onlyIfSuccessful: true
|
||||||
mv ../README.md readme.txt
|
}
|
||||||
7z a soh-mac.7z soh.app readme.txt
|
post {
|
||||||
'''
|
always {
|
||||||
}
|
step([$class: 'WsCleanup']) // Clean workspace
|
||||||
archiveArtifacts artifacts: 'soh/soh-mac.7z', followSymlinks: false, onlyIfSuccessful: true
|
}
|
||||||
}
|
}
|
||||||
post {
|
|
||||||
always {
|
|
||||||
step([$class: 'WsCleanup']) // Clean workspace
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user