Skip to content

Commit

Permalink
fix: arm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
liuq19 committed Jan 23, 2025
1 parent 2b77ac3 commit bfd6df3
Showing 1 changed file with 6 additions and 26 deletions.
32 changes: 6 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,57 +10,37 @@ env:
jobs:
test-stable:
name: Rust stable ${{matrix.os}}
runs-on: ${{matrix.os}}-latest
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos-latest]
os: [ubuntu-latest, X64, ARM64]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v1
- run: ./scripts/test.sh

test-stable-self:
name: Rust stable on self-hosted
runs-on: [self-hosted]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v1
- run: ./scripts/test.sh

test-nightly:
name: Rust nightly ${{matrix.os}}
runs-on: ${{matrix.os}}-latest
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos-latest]
os: [ubuntu-latest, X64, ARM64]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v1
- run: ./scripts/test.sh

test-nightlye-self:
name: Rust nightly on self-hosted
runs-on: [self-hosted]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v1
- run: ./scripts/test.sh

clippy_lint:
name: Format check ${{matrix.os}}
runs-on: ${{matrix.os}}-latest
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos-latest]
os: [ubuntu-latest, X64, ARM64]
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit bfd6df3

Please sign in to comment.