BUILD: cirrus-ci: choose proper openssl package name
freebsd-11.3 and 12.1 comes with different openssl naming
let us add proper switch to cirrus-ci script
diff --git a/.cirrus.yml b/.cirrus.yml
index d146781..4143e68 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -5,7 +5,13 @@
image_family: freebsd-11-3-snap
only_if: $CIRRUS_BRANCH =~ 'master|next'
install_script:
- - pkg install -y openssl111 git gmake lua53 socat
+ - case `uname -r` in
+ 11.3*)
+ export SSL=openssl;;
+ 12.1*)
+ export SSL=openssl111;;
+ esac
+ - pkg install -y $SSL git gmake lua53 socat
script:
- git clone https://github.com/VTest/VTest.git ../vtest
- make -C ../vtest