OSX makefile changed to work on M1, VS project file changed to 2019 (toolset 142) and Jenkins file now builds and archives the binaries

This commit is contained in:
Tom Williams
2023-02-01 14:11:47 +00:00
parent 64d65afeaf
commit b18c34fb0f
3 changed files with 19 additions and 4 deletions

14
Jenkinsfile vendored
View File

@@ -106,6 +106,12 @@ pipeline {
dir("${REPO}/${REPO}/host/xmosdfu") {
sh 'make -f Makefile.OSX64'
}
dir("${REPO}/host_usb_mixer_control") {
sh 'make -f Makefile.OSX'
sh 'mkdir OSX/x86'
sh 'mv xmos_mixer OSX/x86/xmos_mixer'
archiveArtifacts artifacts: "OSX/x86/xmos_mixer", fingerprint: true
}
}
post {
cleanup {
@@ -141,6 +147,14 @@ pipeline {
dir("${REPO}/host/xmosdfu") {
runVS('nmake /f Makefile.Win32')
}
dir("host_usb_mixer_control") {
println "Stage running on:"
println env.NODE_NAME
runVS('msbuild host_usb_mixer_control.vcxproj /property:Configuration=Release')
runVS('mkdir WIN/x86')
runVS('ren bin/Release/x64/host_usb_mixer_control.exe WIN/x64/xmos_mixer.exe')
archiveArtifacts artifacts: "WIN/x64/xmos_mixer.exe", fingerprint: true
}
}
}
post {