xref: /src/.cirrus.yml (revision 170d10421a4280475c301c98d02abadc5e14dad8)
19c0fe7f6SEd Maste# $FreeBSD$
29c0fe7f6SEd Maste
3cec2682cSEd Mastecompute_engine_instance:
4407abff2SEd Maste  # Image list available via
5407abff2SEd Maste  # gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images
6cec2682cSEd Maste  platform: freebsd
7cec2682cSEd Maste  image_project: freebsd-org-cloud-dev
89bcded6fSEd Maste  image: freebsd-13-1-release-amd64
99c0fe7f6SEd Maste  cpu: 8
10bbf70270SEd Maste  memory: 8G
11cec2682cSEd Maste  disk: 40
129c0fe7f6SEd Maste
139c0fe7f6SEd Mastetask:
148cba2003SEd Maste  matrix:
158cba2003SEd Maste  - name: World and kernel amd64 build and boot smoke test
168cba2003SEd Maste    env:
178cba2003SEd Maste      TARGET: amd64
188cba2003SEd Maste      TARGET_ARCH: amd64
19daed785dSEd Maste      TOOLCHAIN_PKG: llvm14
208cba2003SEd Maste  - name: World and kernel arm64 build and boot smoke test
218cba2003SEd Maste    trigger_type: manual
228cba2003SEd Maste    env:
238cba2003SEd Maste      TARGET: arm64
248cba2003SEd Maste      TARGET_ARCH: aarch64
25daed785dSEd Maste      TOOLCHAIN_PKG: llvm14
2675e44873SEd Maste  - name: World and kernel gcc9 amd64 build and boot smoke test
2775e44873SEd Maste    trigger_type: manual
2875e44873SEd Maste    env:
2975e44873SEd Maste      TARGET: amd64
3075e44873SEd Maste      TARGET_ARCH: amd64
3175e44873SEd Maste      TOOLCHAIN_PKG: amd64-gcc9
324d083e6dSEd Maste  timeout_in: 120m
339c0fe7f6SEd Maste  install_script:
34612f254cSEd Maste  - sh .cirrus-ci/pkg-install.sh ${TOOLCHAIN_PKG}
35af11c202SEd Maste  setup_script:
36f2f24008SEd Maste  - uname -a
37170d1042SEd Maste  - gpart show
38f2f24008SEd Maste  - df -m
39a077a4e3SEd Maste  - pkg --version
40db853af6SEd Maste  - pw useradd user
41db853af6SEd Maste  - mkdir -p /usr/obj/$(pwd -P)
42db853af6SEd Maste  - chown user:user /usr/obj/$(pwd -P)
439c0fe7f6SEd Maste  script:
4475e44873SEd Maste  - su user -c "make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=${TOOLCHAIN_PKG} WITHOUT_TOOLCHAIN=yes buildworld buildkernel"
45e1e9e084SEd Maste  package_script:
4675e44873SEd Maste  - su user -c "make CROSS_TOOLCHAIN=${TOOLCHAIN_PKG} WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
47e1e9e084SEd Maste  test_script:
48612f254cSEd Maste  - sh .cirrus-ci/pkg-install.sh qemu-nox11
49e1e9e084SEd Maste  - sh tools/boot/ci-qemu-test.sh
50f2f24008SEd Maste  post_script:
51f2f24008SEd Maste  - df -m
52f2f24008SEd Maste  - du -m -s /usr/obj
53