cargo-binstall/.github/workflows
Jiahao XU b56a8c3579
Fix detect-targets glibc detection ()
* Fix `detect-targets` glibc detection

Fixed 

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix `detect-targets` glibc detection for Fedora

Fedora 37-39 has glibc installed in `/lib64` and `/usr/lib64` instead of
`/lib` or `/usr/lib`.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Improve caching in `detect-targets-alpine-test`

Make sure it reuses cached artifacts instead of recompiling everything.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Mv `test-detect-targets-musl.sh` into `.github/scripts/`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Refactor `ci.yml`: Extract new job `detect-targets-build`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* FIx `detect-targets-ubuntu-test`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Avoid building the entire workspacein `detect-targets-build`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix `detect-targets-*-test`: `chmod +x detect-targets`

Also fixed testing on Alpine, to make sure it exits with status 1 on
assertion failure.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix typo

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Cache all crates in `detect-targets-build`

Since `detect-targets` rarely changes and is quite small, it is also
reasonable to cache it.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Add job `detect-targets-more-glibc-test`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Add `detect-targets-nix-test`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix `detect-targets-nix-test` executing `detect-targets`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix workflow: Add all `detect-targets-*` jobs to be dep of `tests-pass`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-29 23:46:03 +00:00
..
cache-cleanup.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00
ci.yml Fix detect-targets glibc detection () 2023-09-29 23:46:03 +00:00
gh-action.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00
install-script.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00
release-cli.yml Fix release-packages and release-cli workflow () 2023-09-29 02:49:43 +00:00
release-packages.yml Fix release-packages and release-cli workflow () 2023-09-29 02:49:43 +00:00
release-pr.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00
release.yml Use explicit write permissions () 2023-09-26 21:57:51 +00:00
shellcheck.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00
upgrade-transitive-deps.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00