freebsd-dev/.cirrus.yml
Ed Maste af11c20290 Cirrus-CI: show mounted filesystems and free space at start
CI runs have been encountering disk full errors.  Add a `df` invocation
so that we can see what we're working with.
2021-03-01 11:54:37 -05:00

28 lines
696 B
YAML

# $FreeBSD$
freebsd_instance:
# image: freebsd-12-1-stable-amd64
# We need a newer image to install llvm11
image_family: freebsd-12-1-snap
cpu: 8
memory: 24G
env:
CIRRUS_CLONE_DEPTH: 1
task:
timeout_in: 120m
install_script:
- pkg install -y qemu42 uefi-edk2-qemu-x86_64 llvm11
setup_script:
- df -h
- pw useradd user
- mkdir -p /usr/obj/$(pwd -P)
- chown user:user /usr/obj/$(pwd -P)
script:
- su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
package_script:
- su user -c "make CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
test_script:
- sh tools/boot/ci-qemu-test.sh