Skip to content

Commit

Permalink
Override OpenSSL version when running tests on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Feb 17, 2024
1 parent fcf15b3 commit 61fca96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ dub test $DUB_FLAGS

if [ "$OS" == "macOS-latest" ]; then
dub test :tls -c openssl-1.1 $DUB_FLAGS
DUB_FLAGS="$DUB_FLAGS --override-config vibe-stream:tls/openssl-1.1"
else
dub test :tls $DUB_FLAGS
fi

if [ ${RUN_TEST=1} -eq 1 ]; then
for ex in `cd tests && ls -1 *.d`; do
echo "[INFO] Running test $ex"
(cd tests && dub --temp-build --compiler=$DC --single $ex)
(cd tests && dub --temp-build --single $ex $DUB_FLAGS)
done
fi

0 comments on commit 61fca96

Please sign in to comment.