mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-10 14:44:18 +00:00
ci: fix freebsd Cirrus build script (#923)
This commit is contained in:
parent
3e47383b25
commit
5cce30c7f1
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue