gitter: ENCRYPTED[92e34815ac1a27681bf868c8299bfa37f3cb98c7d88156884c85dfb33e786bd3124c5d624721fb13735d23f7c57ead4b]
ports: RELEASE_12_1_0
freebsd_instance:
- image_family: freebsd-12-1
+ image_family: freebsd-12-1-snap
+ discover_script: |
+ sudo -u nobody ulimit -a
+ cat /etc/hosts
+ cat /etc/host.conf
+ cat /etc/resolv.conf
+ ifconfig
+ netstat
+ sysctl -a
+ dmesg
dependencies_script: |
pkg update
pkg upgrade -y
prepare_script: |
mkdir build
chown nobody build
- chsh -s /bin/sh nobody
+ pw user mod nobody -s /bin/sh -d $(pwd)/build
configure_script: |
- sudo -E -u nobody cmake -S . -B build
+ sudo -E -u nobody CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage" cmake -S . -B build
build_script: |
sudo -E -u nobody make -C build -j2 all
test_script: |
+ sysctl net.inet.tcp.msl=500
+ sysctl net.inet.tcp.blackhole=0
+ sysctl net.inet.udp.blackhole=0
sudo -E -u nobody make -C build -j2 test/fast
install_script: |
sudo -E -u nobody make -C build install DESTDIR=/tmp
on_success:
+ codecov_script: |
+ bash <(curl -s https://codecov.io/bash) -x "llvm-cov gcov"
gitter_success_script: |
curl -sS "${gitter}" \
--data-urlencode "level=info" \
- --data-urlencode "message=Cirrus-CI build for ${CIRRUS_BRANCH} on ${OS} [succeeded](https://cirrus-ci.org/task/${CIRRUS_TASK_ID})"
+ --data-urlencode "message=Cirrus [${CIRRUS_REPO_FULL_NAME}](https://github.com/${CIRRUS_REPO_FULL_NAME}/compare/${CIRRUS_LAST_GREEN_CHANGE}...${CIRRUS_CHANGE_IN_REPO}) (${CIRRUS_BRANCH}) [success](https://cirrus-ci.com/task/${CIRRUS_TASK_ID}) (${CIRRUS_OS})"
on_failure:
gitter_failure_script: |
curl -sS "${gitter}" \
--data-urlencode "level=error" \
- --data-urlencode "message=Cirrus-CI build for ${CIRRUS_BRANCH} on ${OS} [failed](https://cirrus-ci.org/task/${CIRRUS_TASK_ID})"
+ --data-urlencode "message=Cirrus [${CIRRUS_REPO_FULL_NAME}](https://github.com/${CIRRUS_REPO_FULL_NAME}/compare/${CIRRUS_LAST_GREEN_CHANGE}...${CIRRUS_CHANGE_IN_REPO}) (${CIRRUS_BRANCH}) [failure](https://cirrus-ci.com/task/${CIRRUS_TASK_ID}) (${CIRRUS_OS})"
testlog_artifacts:
path: build/Testing/Temporary/LastTest.log
type: text/plain