mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
57391dee45
svn_head has the same content as the master or main branch (it's just the result of a `git svn` conversion instead of svn2git). Sponsored by: The FreeBSD Foundation
26 lines
603 B
YAML
26 lines
603 B
YAML
# $FreeBSD$
|
|
|
|
freebsd_instance:
|
|
image: freebsd-12-1-release-amd64
|
|
cpu: 8
|
|
memory: 24G
|
|
|
|
env:
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
|
|
task:
|
|
only_if: $CIRRUS_BRANCH != 'svn_head'
|
|
timeout_in: 120m
|
|
install_script:
|
|
- pkg install -y qemu-devel uefi-edk2-qemu-x86_64
|
|
setup_user_script:
|
|
- 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) WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
|
|
package_script:
|
|
- su user -c "make WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
|
|
test_script:
|
|
- sh tools/boot/ci-qemu-test.sh
|