mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-16 05:37:18 +03:00
Add FreeBSD to TravisCI
Implement the generation of Travis jobs for FreeBSD. The generated jobs replicate the existing CirrusCI config.
This commit is contained in:
parent
a93931537e
commit
fdb6c10162
5 changed files with 83 additions and 0 deletions
3
scripts/freebsd/before_install.sh
Normal file
3
scripts/freebsd/before_install.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/tcsh
|
||||
|
||||
su -m root -c 'pkg install -y git'
|
||||
10
scripts/freebsd/before_script.sh
Normal file
10
scripts/freebsd/before_script.sh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/tcsh
|
||||
|
||||
autoconf
|
||||
# We don't perfectly track freebsd stdlib.h definitions. This is fine when
|
||||
# we count as a system header, but breaks otherwise, like during these
|
||||
# tests.
|
||||
./configure --with-jemalloc-prefix=ci_ ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" CXX="$CXX $COMPILER_FLAGS"} $CONFIGURE_FLAGS
|
||||
JE_NCPUS=`sysctl -n kern.smp.cpus`
|
||||
gmake -j${JE_NCPUS}
|
||||
gmake -j${JE_NCPUS} tests
|
||||
3
scripts/freebsd/script.sh
Normal file
3
scripts/freebsd/script.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/tcsh
|
||||
|
||||
gmake check
|
||||
Loading…
Add table
Add a link
Reference in a new issue