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
This commit is contained in:
Clement Tsang 2022-12-02 20:12:49 -05:00 committed by GitHub
parent 9c3e60e74f
commit 3e47383b25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -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:

View File

@ -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"