Cirrus build

This commit is contained in:
xddxd 2021-04-04 11:34:12 +03:00 committed by Ivan
parent 7a105333dc
commit 024b184008
8 changed files with 135 additions and 18 deletions

13
.ci/export-cirrus-vars.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/sh -e
# Export variables for later stages of the Azure pipeline
# Values done in this manner will appear as environment variables
# in later stages.
# From pure-sh-bible
# Setting 'IFS' tells 'read' where to split the string.
while IFS='=' read -r key val; do
# Skip over lines containing comments.
[ "${key##\#*}" ] || continue
export "$key"="$val"
done < ".ci/azure-vars.env"