summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-12-02 20:12:49 -0500
committerGitHub <noreply@github.com>2022-12-02 20:12:49 -0500
commit3e47383b25a04405c49d7da35d079d29d676e9e5 (patch)
treef3926e7f1bcae2bcfe945afa1680ca7b9c666abd
parent9c3e60e74f0af93ed4ad7e8534db54e10219526a (diff)
ci: add freebsd 12 as a build/check target (#922)
* ci: add freebsd 12 as a build/check target * forgot to add 12 for tests
-rw-r--r--.cirrus.yml11
-rw-r--r--scripts/cirrus/build.py3
2 files changed, 12 insertions, 2 deletions
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"