mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-04-08 17:05:59 +02:00
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:
parent
9c3e60e74f
commit
3e47383b25
11
.cirrus.yml
11
.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:
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user