cargo-binstall/.github
Jiahao XU 5064e4e188
CI: Cache zig global_cache to speedup build (#1481)
* CI: Cache zig global_cache to speedup build

This can be helpful in two situations:
 - If `cc` is bumped to a new release, then all the `*-sys` crates will
   be rebuilt even if their source doesn't change.
   Caching zig global_cache would avoid expensive rebuilds.
 - For target `x86_64h-apple-darwin`, it uses build-std which means the
   rust cache is quite ineffective (only build-dependencies are cached),
   so we would also need zig global_cache to avoid rebuilding c
   dependencies in CI.

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

* Fix missing `shell: bash`

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

* Fix CI: Create symlink to `zig`

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

* CI: Fix getting output from prev step in just-setup

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

* CI: Include job_id `github.job` in zig cache key

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

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-11-11 07:34:36 +00:00
..
actions/just-setup CI: Cache zig global_cache to speedup build (#1481) 2023-11-11 07:34:36 +00:00
scripts Fix detect-targets glibc detection (#1421) 2023-09-29 23:46:03 +00:00
workflows Fix CI: Use cargo-hack 0.6.10 (#1468) 2023-10-20 10:37:54 +00:00
dependabot.yml Fixed and simplify dependabot configuration (#1357) 2023-09-14 21:51:36 +00:00
FUNDING.yml Add GitHub sponsor for maintainer NobodyXu (#1358) 2023-09-14 14:09:19 +00:00