mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +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
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
|||
matrix:
|
||||
include:
|
||||
- target: x86_64-apple-darwin
|
||||
os: macos-latest
|
||||
os: macos-14
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
- target: x86_64-pc-windows-msvc
|
||||
|
@ -78,7 +78,7 @@ jobs:
|
|||
- target: x86_64-unknown-linux-musl
|
||||
os: ubuntu-latest
|
||||
- target: aarch64-apple-darwin
|
||||
os: macos-latest
|
||||
os: macos-14
|
||||
- target: aarch64-pc-windows-msvc
|
||||
os: windows-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
@ -108,7 +108,7 @@ jobs:
|
|||
matrix:
|
||||
include:
|
||||
- target: x86_64-apple-darwin
|
||||
os: macos-latest
|
||||
os: macos-14
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
- target: x86_64-pc-windows-msvc
|
||||
|
|
2
.github/workflows/gh-action.yml
vendored
2
.github/workflows/gh-action.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
os: [ macos-14, ubuntu-latest, windows-latest ]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
2
.github/workflows/install-script.yml
vendored
2
.github/workflows/install-script.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest]
|
||||
os: [macos-14, ubuntu-latest]
|
||||
set_cargo_home: [t, f]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
8
.github/workflows/release-packages.yml
vendored
8
.github/workflows/release-packages.yml
vendored
|
@ -27,9 +27,9 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- { o: macos-latest, t: x86_64-apple-darwin, r: true }
|
||||
- { o: macos-latest, t: x86_64h-apple-darwin, }
|
||||
- { o: macos-latest, t: aarch64-apple-darwin }
|
||||
- { o: macos-14, t: x86_64-apple-darwin, r: true }
|
||||
- { o: macos-14, t: x86_64h-apple-darwin, }
|
||||
- { o: macos-14, t: aarch64-apple-darwin }
|
||||
- { o: ubuntu-latest, t: x86_64-unknown-linux-gnu, g: 2.17, r: true, c: true }
|
||||
- { o: ubuntu-latest, t: armv7-unknown-linux-gnueabihf, g: 2.17, c: true }
|
||||
- { o: ubuntu-latest, t: aarch64-unknown-linux-gnu, g: 2.17, c: true }
|
||||
|
@ -125,7 +125,7 @@ jobs:
|
|||
name: universal-apple-darwin
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: macos-latest
|
||||
runs-on: macos-14
|
||||
env:
|
||||
JUST_FOR_RELEASE: true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue