mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-25 14:50:04 +00:00
CI: Use runner macos-14
which uses M1 machine (#1590)
* CI: Use runner `macos-14` which uses M1 machine `macos-14` provides 3-core M1, 7G mem and 14G stroage, while `macos-latest` (`macos-13` as of writing) provides 4-core intel, 14G mem and 14G storage. While the memory is cut by half and core count reduce by 1, I believe that it would still speedup the CI since M1 is much more powerful than previous Intel CPU used in `macos-13`. It would also allow us to run tests on aarch64-apple-darwin and on universal-apple-darwin, if necessary. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * CI: Fix `e2e-test-subcrate`: Bump `cargo-audit` ver to v0.18.3 Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
dba9dd5ff0
commit
9cf7b15df8
5 changed files with 11 additions and 11 deletions
|
@ -14,9 +14,9 @@ mkdir -p "$othertmpdir/bin"
|
|||
cp "./$1" "$othertmpdir/bin/"
|
||||
|
||||
# cargo-audit
|
||||
cargo binstall --no-confirm cargo-audit@0.17.5 --strategies crate-meta-data
|
||||
cargo binstall --no-confirm cargo-audit@0.18.3 --strategies crate-meta-data
|
||||
|
||||
cargo_audit_version="$(cargo audit --version)"
|
||||
echo "$cargo_audit_version"
|
||||
|
||||
[ "$cargo_audit_version" = "cargo-audit 0.17.5" ]
|
||||
[ "$cargo_audit_version" = "cargo-audit 0.18.3" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue