Skip to content

Commit

Permalink
ci: Use macos-12
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jun 1, 2024
1 parent f68c2ab commit 42979f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ jobs:
- rust: beta
- rust: nightly
- rust: nightly
os: macos-11
os: macos-latest
- rust: nightly
os: windows-2019
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
os: windows-latest
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
Expand All @@ -72,8 +72,6 @@ jobs:
- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@cargo-minimal-versions
- uses: taiki-e/install-action@nextest
- run: echo "RUSTFLAGS=${RUSTFLAGS} -C target-feature=+crt-static" >>"${GITHUB_ENV}"
if: startsWith(matrix.os, 'windows')
- run: cargo test --workspace --all-features
# TODO: move this test to tests/test.rs
- run: cargo install --path . --debug
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
- target: aarch64-unknown-linux-gnu
- target: aarch64-unknown-linux-musl
- target: aarch64-apple-darwin
os: macos-11
os: macos-12
- target: x86_64-unknown-linux-gnu
- target: x86_64-unknown-linux-musl
- target: x86_64-apple-darwin
os: macos-11
os: macos-12
- target: x86_64-pc-windows-msvc
os: windows-2019
- target: universal-apple-darwin
os: macos-11
os: macos-12
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
timeout-minutes: 60
permissions:
Expand Down

0 comments on commit 42979f3

Please sign in to comment.