ci: add build alias for easier build artifact URLs (#852)

This commit is contained in:
Clement Tsang 2022-10-26 04:58:51 -04:00 committed by GitHub
parent 4240a38ced
commit 5eba26f9e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -26,9 +26,8 @@ cache_template: &CACHE_TEMPLATE
cleanup_template: &CLEANUP_TEMPLATE
before_cache_script:
- rm -rf $HOME/.cargo/registry/index
- rm -rf $HOME/.cargo/registry/src
- rm -f ./target/.rustc_info.json
- find ./target/debug -maxdepth 1 -type f -delete || true # Delete stray files if they exist
- find ./target/release -maxdepth 1 -type f -delete || true # Delete stray files
env:
CARGO_INCREMENTAL: 0
@ -61,18 +60,20 @@ test_task:
<<: *CLEANUP_TEMPLATE
build_task:
only_if: $CIRRUS_RELEASE != "" || $CIRRUS_CRON == "nightly"
only_if: $CIRRUS_RELEASE != "" || $CIRRUS_CRON == "nightly" || $CIRRUS_API_CREATED == true || $CIRRUS_BRANCH == "master"
env:
BTM_GENERATE: true
COMPLETION_DIR: "target/tmp/bottom/completion/"
MANPAGE_DIR: "target/tmp/bottom/manpage/"
matrix:
- name: "FreeBSD 13 Build"
alias: "freebsd_build"
freebsd_instance:
image_family: freebsd-13-1
env:
TARGET: "x86_64-unknown-freebsd"
- name: "macOS M1 Build"
alias: "macos_build"
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest
env:

View file

@ -199,6 +199,7 @@ sudo eopkg it bottom
```
### Void
```bash
sudo xbps-install bottom
```
@ -283,7 +284,8 @@ You can also try to use the generated release binaries and manually install on y
- [Latest stable release](https://github.com/ClementTsang/bottom/releases/latest), generated off of the release branch
- [Latest nightly release](https://github.com/ClementTsang/bottom/releases/tag/nightly), generated daily off of the master branch at 00:00 UTC
- FreeBSD and ARM macOS binaries are generated via Cirrus CI, and for now, can be found [here](https://cirrus-ci.com/github/ClementTsang/bottom).
- FreeBSD builds can be found [here](https://api.cirrus-ci.com/v1/artifact/github/ClementTsang/bottom/freebsd_build/binaries.zip)
- macOS ARM builds can be found [here](https://api.cirrus-ci.com/v1/artifact/github/ClementTsang/bottom/macos_build/binaries.zip)
#### Auto-completion