ci: fix freebsd Cirrus build script (#923)

This commit is contained in:
Clement Tsang 2022-12-02 21:57:41 -05:00 committed by GitHub
parent 3e47383b25
commit 5cce30c7f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,18 +83,21 @@ build_task:
image_family: freebsd-13-1
env:
TARGET: "x86_64-unknown-freebsd"
NAME: "x86_64-unknown-freebsd-13-1"
- name: "FreeBSD 12 Build"
alias: "freebsd_12_3_build"
freebsd_instance:
image_family: freebsd-12-3
env:
TARGET: "x86_64-unknown-freebsd"
NAME: "x86_64-unknown-freebsd-12-3"
- name: "macOS M1 Build"
alias: "macos_build"
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest
env:
TARGET: "aarch64-apple-darwin"
NAME: "aarch64-apple-darwin"
<<: *SETUP_TEMPLATE
<<: *CACHE_TEMPLATE
build_script:
@ -103,7 +106,7 @@ build_task:
- mv ./target/release/btm ./
- mv "$COMPLETION_DIR" completion
- mv "$MANPAGE_DIR" manpage
- tar -czvf bottom_$TARGET.tar.gz btm completion
- tar -czvf bottom_$NAME.tar.gz btm completion
binaries_artifacts:
path: bottom_$TARGET.tar.gz
path: bottom_$NAME.tar.gz
<<: *CLEANUP_TEMPLATE