Skip to content

Commit

Permalink
relax tests, don't use cross for release from macos x86 to aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegn committed Aug 21, 2023
1 parent 3487088 commit dd26b98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ jobs:
include:
- target: x86_64-apple-darwin
os: macos-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest

runs-on: ${{ matrix.os }}

Expand All @@ -43,10 +39,6 @@ jobs:
with:
tool: cargo-nextest

- uses: taiki-e/setup-cross-toolchain-action@v1
with:
target: ${{ matrix.target }}

- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- uses: taiki-e/setup-cross-toolchain-action@v1
with:
target: ${{ matrix.target }}
if: startsWith(matrix.os, 'ubuntu')

- uses: Swatinem/rust-cache@v2
with:
Expand Down

0 comments on commit dd26b98

Please sign in to comment.