mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-21 04:34:51 +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"
|
- name: "FreeBSD 13 Test"
|
||||||
freebsd_instance:
|
freebsd_instance:
|
||||||
image_family: freebsd-13-1
|
image_family: freebsd-13-1
|
||||||
|
- name: "FreeBSD 12 Test"
|
||||||
|
freebsd_instance:
|
||||||
|
image_family: freebsd-12-3
|
||||||
- name: "macOS M1 Test"
|
- name: "macOS M1 Test"
|
||||||
macos_instance:
|
macos_instance:
|
||||||
image: ghcr.io/cirruslabs/macos-monterey-base:latest
|
image: ghcr.io/cirruslabs/macos-monterey-base:latest
|
||||||
@ -75,11 +78,17 @@ build_task:
|
|||||||
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
MANPAGE_DIR: "target/tmp/bottom/manpage/"
|
||||||
matrix:
|
matrix:
|
||||||
- name: "FreeBSD 13 Build"
|
- name: "FreeBSD 13 Build"
|
||||||
alias: "freebsd_build"
|
alias: "freebsd_13_1_build"
|
||||||
freebsd_instance:
|
freebsd_instance:
|
||||||
image_family: freebsd-13-1
|
image_family: freebsd-13-1
|
||||||
env:
|
env:
|
||||||
TARGET: "x86_64-unknown-freebsd"
|
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"
|
- name: "macOS M1 Build"
|
||||||
alias: "macos_build"
|
alias: "macos_build"
|
||||||
macos_instance:
|
macos_instance:
|
||||||
|
@ -18,7 +18,8 @@ from urllib.request import Request, urlopen, urlretrieve
|
|||||||
|
|
||||||
URL = "https://api.cirrus-ci.com/graphql"
|
URL = "https://api.cirrus-ci.com/graphql"
|
||||||
TASKS = [
|
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"),
|
("macos_build", "bottom_aarch64-apple-darwin.tar.gz"),
|
||||||
]
|
]
|
||||||
DL_URL_TEMPLATE = "https://api.cirrus-ci.com/v1/artifact/build/%s/%s/binaries/%s"
|
DL_URL_TEMPLATE = "https://api.cirrus-ci.com/v1/artifact/build/%s/%s/binaries/%s"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user