diff --git a/.cirrus.yml b/.cirrus.yml index 4c8cd00f..40e5bd12 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -47,6 +47,9 @@ test_task: - name: "FreeBSD 13 Test" freebsd_instance: image_family: freebsd-13-1 + - name: "FreeBSD 12 Test" + freebsd_instance: + image_family: freebsd-12-3 - name: "macOS M1 Test" macos_instance: image: ghcr.io/cirruslabs/macos-monterey-base:latest @@ -75,11 +78,17 @@ build_task: MANPAGE_DIR: "target/tmp/bottom/manpage/" matrix: - name: "FreeBSD 13 Build" - alias: "freebsd_build" + alias: "freebsd_13_1_build" freebsd_instance: image_family: freebsd-13-1 env: TARGET: "x86_64-unknown-freebsd" + - name: "FreeBSD 12 Build" + alias: "freebsd_12_3_build" + freebsd_instance: + image_family: freebsd-12-3 + env: + TARGET: "x86_64-unknown-freebsd" - name: "macOS M1 Build" alias: "macos_build" macos_instance: diff --git a/scripts/cirrus/build.py b/scripts/cirrus/build.py index 388260eb..15c047e9 100644 --- a/scripts/cirrus/build.py +++ b/scripts/cirrus/build.py @@ -18,7 +18,8 @@ from urllib.request import Request, urlopen, urlretrieve URL = "https://api.cirrus-ci.com/graphql" TASKS = [ - ("freebsd_build", "bottom_x86_64-unknown-freebsd.tar.gz"), + ("freebsd_12_3_build", "bottom_x86_64-unknown-freebsd-12-3.tar.gz"), + ("freebsd_13_1_build", "bottom_x86_64-unknown-freebsd-13-1.tar.gz"), ("macos_build", "bottom_aarch64-apple-darwin.tar.gz"), ] DL_URL_TEMPLATE = "https://api.cirrus-ci.com/v1/artifact/build/%s/%s/binaries/%s"