Skip to content

Commit

Permalink
CI:add new YAML VM Images
Browse files Browse the repository at this point in the history
Signed-off-by: Raluca Chis <[email protected]>
  • Loading branch information
Raluca Chis authored and pcercuei committed Jul 8, 2022
1 parent 905bb1a commit 3a4b27e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CI/azure/prepare_assets.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e

release_artifacts() {
local deb_linux_assets='Fedora-34 Ubuntu-18.04 Ubuntu-20.04'
local deb_linux_assets='Fedora-34 Ubuntu-18.04 Ubuntu-20.04 Ubuntu-22.04'
cd "${BUILD_ARTIFACTSTAGINGDIRECTORY}"
for i in $deb_linux_assets; do
cd "Linux-${i}"
Expand All @@ -13,7 +13,7 @@ release_artifacts() {
rm -r "Linux-${i}"
done

local pkg_assets='macOS-10.15 macOS-11'
local pkg_assets='macOS-10.15 macOS-11 macOS-12'
cd "${BUILD_ARTIFACTSTAGINGDIRECTORY}"
for i in $pkg_assets; do
cd "${i}"
Expand Down Expand Up @@ -49,7 +49,7 @@ release_artifacts() {
}

swdownloads_artifacts() {
local linux_dist='Fedora-34 Ubuntu-18.04 Ubuntu-20.04'
local linux_dist='Fedora-34 Ubuntu-18.04 Ubuntu-20.04 Ubuntu-22.04'
for distribution in $linux_dist; do
cd "${BUILD_ARTIFACTSTAGINGDIRECTORY}/Linux-${distribution}"
if [ "${distribution}" == "Fedora-34" ]; then
Expand All @@ -60,7 +60,7 @@ swdownloads_artifacts() {
rm -r ../Linux-"${distribution}"
done

local macOS_dist='macOS-10.15 macOS-11'
local macOS_dist='macOS-10.15 macOS-11 macOS-12'
for distribution in $macOS_dist; do
cd "${BUILD_ARTIFACTSTAGINGDIRECTORY}/${distribution}"
find . -name '*.pkg' -exec mv {} ../"${distribution}_latest_master_libiio.pkg" ";"
Expand Down
6 changes: 6 additions & 0 deletions artifact_manifest.txt.cmakein
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@ Linux-Ubuntu-18.04/libiio-@[email protected]@[email protected]
Linux-Ubuntu-20.04/libiio-@[email protected]@[email protected]
Linux-Ubuntu-20.04/libiio-@[email protected]@[email protected]

Linux-Ubuntu-22.04/libiio-@[email protected]@[email protected]
Linux-Ubuntu-22.04/libiio-@[email protected]@[email protected]

macOS-10.15/libiio-@[email protected]@[email protected]
macOS-10.15/libiio-@[email protected]@[email protected]

macOS-11/libiio-@[email protected]@[email protected]
macOS-11/libiio-@[email protected]@[email protected]

macOS-12/libiio-@[email protected]@[email protected]
macOS-12/libiio-@[email protected]@[email protected]

Ubuntu-arm32v7/libiio-@[email protected]@[email protected]
Ubuntu-arm32v7/libiio-@[email protected]@[email protected]

Expand Down
6 changes: 6 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ stages:
ubuntu_20_04:
image: 'tfcollins/libiio_ubuntu_20_04-ci:latest'
artifactName: 'Linux-Ubuntu-20.04'
ubuntu_22_04:
image: 'tfcollins/libiio_ubuntu_22_04-ci:latest'
artifactName: 'Linux-Ubuntu-22.04'
fedora34:
image: 'tfcollins/libiio_fedora_34-ci:latest'
artifactName: 'Linux-Fedora-34'
Expand Down Expand Up @@ -184,6 +187,9 @@ stages:
macOS_11:
vmImage: 'macOS-11'
artifactName: 'macOS-11'
macOS_12:
vmImage: 'macOS-12'
artifactName: 'macOS-12'
pool:
vmImage: $[ variables['vmImage'] ]
steps:
Expand Down

0 comments on commit 3a4b27e

Please sign in to comment.