-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI:reconfigure Azure Pipelines artifacts
- macOS: remove an extra line. - macOS: change the name of .pkg and .tar.gz files to be different for each macOS build. - macOS: publish .tar.gz file as an Azure Pipeline artifact. - linux: add ARTIFACTNAME to be availabla as an common env-var. - linux: set CPACK_HELP to FLAGS in order to have different name for artifacts in each linux build. - windows: separe comands in build_win.ps1 for win32 and x64 architecture - windows: generate .tar.gz file (using python 3.9). - windows: add publish_deps.ps1 script which collects all .dll dependencies to publish them as artifacts. - windows: add some tasks to azure_pipelines.yml in order to publish following files: iio.h header, .exe files, libiio-sharp.dll, .tar.gz files, .dll dependencies. Signed-off-by: Raluca Chis <raluca.chis@analog.com>
- Loading branch information
Showing
6 changed files
with
102 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
$src_dir=$pwd | ||
|
||
cd 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Redist\MSVC\14.29.30133' | ||
if ($ARCH -eq "Win32") { | ||
echo "$PWD" | ||
mv .\x86\Microsoft.VC142.CRT\msvcp140.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
}else { | ||
echo "$PWD" | ||
mv .\x64\Microsoft.VC142.CRT\msvcp140.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
} | ||
|
||
cd $src_dir | ||
mkdir dependencies | ||
cd dependencies | ||
wget http://swdownloads.analog.com/cse/build/libiio-win-deps.zip -OutFile "libiio-win-deps.zip" | ||
7z x -y "libiio-win-deps.zip" | ||
|
||
if ($ARCH -eq "Win32") { | ||
mv .\libs\32\libxml2.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
mv .\libs\32\libserialport-0.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
mv .\libs\32\libusb-1.0.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
}else { | ||
mv .\libs\64\libxml2.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
mv .\libs\64\libserialport-0.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
mv .\libs\64\libusb-1.0.dll $env:BUILD_ARTIFACTSTAGINGDIRECTORY | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters