mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
1. Merge Nuget CPU pipeline, Java CPU pipeline, C-API pipeline into a single one. 2. Enable compile warnings for cuda files(*.cu) on Windows. 3. Enable static code analyze for the Windows builds in these jobs. For example, this is our first time scanning the JNI code. 4. Fix some warnings in the training code. 5. Enable code sign for Java. Previously we forgot it. 6. Update TPN.txt to remove Jemalloc.
14 lines
No EOL
690 B
PowerShell
14 lines
No EOL
690 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
Write-Output "Start"
|
|
dir
|
|
pushd onnxruntime-java-linux-x64
|
|
Write-Output "Run 7z"
|
|
7z a $Env:BUILD_BINARIESDIRECTORY\java-artifact\onnxruntime-java-win-x64\testing.jar libcustom_op_library.so
|
|
Remove-Item -Path libcustom_op_library.so
|
|
7z a $Env:BUILD_BINARIESDIRECTORY\java-artifact\onnxruntime-java-win-x64\onnxruntime-$Env:ONNXRUNTIMEVERSION.jar .
|
|
popd
|
|
pushd onnxruntime-java-osx-x64
|
|
7z a $Env:BUILD_BINARIESDIRECTORY\java-artifact\onnxruntime-java-win-x64\testing.jar libcustom_op_library.dylib
|
|
Remove-Item -Path libcustom_op_library.dylib
|
|
7z a $Env:BUILD_BINARIESDIRECTORY\java-artifact\onnxruntime-java-win-x64\onnxruntime-$Env:ONNXRUNTIMEVERSION.jar .
|
|
popd |