Add windows build of tools

This commit is contained in:
zontreck 2024-08-30 21:07:26 -07:00
parent 0801f0d7f8
commit 6f6784a91a

40
Jenkinsfile vendored
View file

@ -24,5 +24,45 @@ pipeline {
}
}
}
stage("Build on Windows") {
agent {
label 'windows'
}
steps {
bat '''
@echo off
git clean -xfd
git reset --hard
mkdir cpp\\build
cd cpp\\build
cmake ..
make
cd ..\\..
cd dart
mkdir out
dart compile exe -o out\\dbikc.exe bin\\dbikc.dart
dart compile exe -o out\\uuidgen.exe bin\\uuidgen.dart
cd ..
'''
}
post {
always {
archiveArtifacts artifacts: "dart\\out\\*.exe", fingerprint: true
archiveArtifacts artifacts: "cpp\\build\\vsleep.exe", fingerprint: true
archiveArtifacts artifacts: "cpp\\build\\pause.exe", fingerprint: true
deleteDir()
}
}
}
}
}