Skip to content

Commit d6d20c0

Browse files
Move freebsd build to use CMake.
1 parent d4b21dd commit d6d20c0

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.cirrus.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,15 @@ freebsd_task:
6262
env:
6363
QTHREADS_SCHEDULER: distrib
6464
install_deps_script: |
65-
pkg install -y bash
66-
pkg install -y llvm autoconf automake libtool
65+
pkg install -y llvm cmake
6766
pkg install -y coreutils # to get gtimeout for CI. The built-in timeout sometimes fails to kill the process.
6867
build_script: |
69-
bash autogen.sh
70-
bash configure --enable-picky --with-scheduler=$QTHREADS_SCHEDULER --with-topology=no
71-
make -j$CIRRUS_CPU
72-
make tests -j$CIRRUS_CPU
68+
mkdir build
69+
cd build
70+
cmake -DCMAKE_BUILD_TYPE=Release -DQTHREADS_SCHEDULER=$QTHREADS_SCHEDULER -DQTHREADS_TOPOLOGY=no -DQTHREADS_CONTEXT_SWAP_IMPL=system ..
71+
make -j$CIRRUS_CPU VERBOSE=1
7372
test_script: |
74-
gtimeout --foreground -k 10s 2m make check || ( cat test/basics/test-suite.log && cat test/features/test-suite.log && cat test/stress/test-suite.log && exit 1 )
73+
CTEST_OUTPUT_ON_FAILURE=1 gtimeout --foreground -k 10s 2m make test VERBOSE=1
7574
7675
arm_linux_task:
7776
arm_container:

0 commit comments

Comments
 (0)