mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
Cirrus-CI: add a manual amd64-gcc9 build and smoketest job
Allow users to test changes and find GCC-specific issues using Cirrus-CI against their own GitHub forks. Reviewed by: lwhsu, jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34289
This commit is contained in:
parent
e68a5225e8
commit
75e44873df
14
.cirrus.yml
14
.cirrus.yml
@ -16,14 +16,22 @@ task:
|
|||||||
env:
|
env:
|
||||||
TARGET: amd64
|
TARGET: amd64
|
||||||
TARGET_ARCH: amd64
|
TARGET_ARCH: amd64
|
||||||
|
TOOLCHAIN_PKG: llvm13
|
||||||
- name: World and kernel arm64 build and boot smoke test
|
- name: World and kernel arm64 build and boot smoke test
|
||||||
trigger_type: manual
|
trigger_type: manual
|
||||||
env:
|
env:
|
||||||
TARGET: arm64
|
TARGET: arm64
|
||||||
TARGET_ARCH: aarch64
|
TARGET_ARCH: aarch64
|
||||||
|
TOOLCHAIN_PKG: llvm13
|
||||||
|
- name: World and kernel gcc9 amd64 build and boot smoke test
|
||||||
|
trigger_type: manual
|
||||||
|
env:
|
||||||
|
TARGET: amd64
|
||||||
|
TARGET_ARCH: amd64
|
||||||
|
TOOLCHAIN_PKG: amd64-gcc9
|
||||||
timeout_in: 120m
|
timeout_in: 120m
|
||||||
install_script:
|
install_script:
|
||||||
- sh .cirrus-ci/pkg-install.sh qemu-nox11 llvm13
|
- sh .cirrus-ci/pkg-install.sh qemu-nox11 ${TOOLCHAIN_PKG}
|
||||||
setup_script:
|
setup_script:
|
||||||
- uname -a
|
- uname -a
|
||||||
- df -m
|
- df -m
|
||||||
@ -32,9 +40,9 @@ task:
|
|||||||
- mkdir -p /usr/obj/$(pwd -P)
|
- mkdir -p /usr/obj/$(pwd -P)
|
||||||
- chown user:user /usr/obj/$(pwd -P)
|
- chown user:user /usr/obj/$(pwd -P)
|
||||||
script:
|
script:
|
||||||
- su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm13 WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
|
- su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=${TOOLCHAIN_PKG} WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
|
||||||
package_script:
|
package_script:
|
||||||
- su user -c "make CROSS_TOOLCHAIN=llvm13 WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
|
- su user -c "make CROSS_TOOLCHAIN=${TOOLCHAIN_PKG} WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
|
||||||
test_script:
|
test_script:
|
||||||
- sh tools/boot/ci-qemu-test.sh
|
- sh tools/boot/ci-qemu-test.sh
|
||||||
post_script:
|
post_script:
|
||||||
|
Loading…
Reference in New Issue
Block a user