Ensure CI_OS_NAME is set for appveyor server
This commit is contained in:
parent
48fc35884c
commit
6969ece2dd
|
@ -59,7 +59,7 @@ if [[ -n $CI ]]; then
|
|||
fi
|
||||
if [[ $CI_LINUX = True ]]; then
|
||||
export CI_OS_NAME=linux
|
||||
elif [[ $CI_WINDOWS = True ]]; then
|
||||
else
|
||||
export CI_OS_NAME=windows
|
||||
fi
|
||||
export CI_REPO_SLUG=$APPVEYOR_REPO_NAME
|
||||
|
|
|
@ -49,7 +49,8 @@ windows)
|
|||
TARGET=x86_64-pc-windows-msvc
|
||||
;;
|
||||
*)
|
||||
TARGET=unknown-unknown-unknown
|
||||
echo CI_OS_NAME unset
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue