dependencies and packaging
VoidLoader/VoidLoaderCore/pipeline/head This commit looks good

Signed-off-by: Faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2025-10-19 04:08:46 +03:00
1 parent e2f3261a40
commit e5d2432ddb
2 files changed
+142

No files matched your search

Vendored
+25
View File
@@ -27,6 +27,31 @@ pipeline {
sh 'cmake --build build/windows'
}
}
stage('Package-Artifacts') {
steps {
sh '''
rm -rf dist
mkdir -p dist/native/windows
mkdir -p dist/native/linux
# copy linux .so and .so.* files
find build/linux -type f -name "*.so*" -exec cp {} dist/native/linux/ \\;
# copy windows dll files
find build/windows -type f -name "*.dll" -exec cp {} dist/native/windows/ \\;
# create zip
cd dist
zip -r ../VoidLoader.zip native
'''
}
post {
success {
archiveArtifacts artifacts: 'VoidLoader.zip', fingerprint: true
}
}
}
}
}