mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
chore: Fix FreeBSD build.
This commit is contained in:
parent
e92a67ed5f
commit
d73393a078
|
@ -5,16 +5,19 @@
|
||||||
|
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
cd ..
|
if [ "$PWD" != "/work" ]; then
|
||||||
mv c-toxcore /
|
cd ..
|
||||||
mkdir c-toxcore
|
mv c-toxcore /
|
||||||
|
mkdir c-toxcore
|
||||||
|
cd /work
|
||||||
|
fi
|
||||||
|
|
||||||
pushd /work
|
. cmake-freebsd-run.sh
|
||||||
. cmake-freebsd-env.sh
|
|
||||||
popd
|
|
||||||
|
|
||||||
# === Get VM ready to build the code ===
|
# === Get VM ready to build the code ===
|
||||||
|
|
||||||
|
gunzip "$IMAGE_NAME.gz"
|
||||||
|
|
||||||
start_vm
|
start_vm
|
||||||
|
|
||||||
# Copy over toxcore code from Travis to qemu
|
# Copy over toxcore code from Travis to qemu
|
||||||
|
@ -42,7 +45,7 @@ RUN 'cmake -B_build -Hc-toxcore \
|
||||||
-DMUST_BUILD_TOXAV=ON \
|
-DMUST_BUILD_TOXAV=ON \
|
||||||
-DNON_HERMETIC_TESTS=ON \
|
-DNON_HERMETIC_TESTS=ON \
|
||||||
-DSTRICT_ABI=ON \
|
-DSTRICT_ABI=ON \
|
||||||
-DTEST_TIMEOUT_SECONDS=300 \
|
-DTEST_TIMEOUT_SECONDS=90 \
|
||||||
-DUSE_IPV6=OFF \
|
-DUSE_IPV6=OFF \
|
||||||
-DAUTOTEST=ON'
|
-DAUTOTEST=ON'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user