mirror of
https://github.com/alacritty/alacritty.git
synced 2025-02-10 15:46:10 -05:00
Use latest macOS image on CI (#8072)
Old macOS images are deprecated resulting in often failures, thus use latest macOS images available. Also given that macOS is arm64 by default check x86_64 as extra job and not arm64.
This commit is contained in:
parent
da554e41f3
commit
138ac426bf
2 changed files with 7 additions and 7 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -27,11 +27,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
rustup component add clippy
|
rustup component add clippy
|
||||||
cargo clippy --all-targets
|
cargo clippy --all-targets
|
||||||
check-macos-arm:
|
check-macos-x86_64:
|
||||||
runs-on: macos-11
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install target
|
- name: Install target
|
||||||
run: rustup update && rustup target add aarch64-apple-darwin
|
run: rustup update && rustup target add x86_64-apple-darwin
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --target=aarch64-apple-darwin
|
run: cargo build --target=x86_64-apple-darwin
|
||||||
|
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -10,16 +10,16 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
macos:
|
macos:
|
||||||
runs-on: macos-11
|
runs-on: macos-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: brew install scdoc
|
run: brew install scdoc
|
||||||
- name: Install ARM target
|
- name: Install ARM target
|
||||||
run: rustup update && rustup target add aarch64-apple-darwin
|
run: rustup update && rustup target add aarch64-apple-darwin && rustup target add x86_64-apple-darwin
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test --release
|
run: cargo test --release --target=x86_64-apple-darwin
|
||||||
- name: Build ARM
|
- name: Build ARM
|
||||||
run: cargo build --release --target=aarch64-apple-darwin
|
run: cargo build --release --target=aarch64-apple-darwin
|
||||||
- name: Make DMG
|
- name: Make DMG
|
||||||
|
|
Loading…
Add table
Reference in a new issue