chore: Fix FreeBSD build.

This commit is contained in:
iphydf 2021-12-22 01:18:43 +00:00
parent e92a67ed5f
commit d73393a078
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -5,16 +5,19 @@
set -eux
cd ..
mv c-toxcore /
mkdir c-toxcore
if [ "$PWD" != "/work" ]; then
cd ..
mv c-toxcore /
mkdir c-toxcore
cd /work
fi
pushd /work
. cmake-freebsd-env.sh
popd
. cmake-freebsd-run.sh
# === Get VM ready to build the code ===
gunzip "$IMAGE_NAME.gz"
start_vm
# Copy over toxcore code from Travis to qemu
@ -42,7 +45,7 @@ RUN 'cmake -B_build -Hc-toxcore \
-DMUST_BUILD_TOXAV=ON \
-DNON_HERMETIC_TESTS=ON \
-DSTRICT_ABI=ON \
-DTEST_TIMEOUT_SECONDS=300 \
-DTEST_TIMEOUT_SECONDS=90 \
-DUSE_IPV6=OFF \
-DAUTOTEST=ON'