Skip to content

Commit

Permalink
Update CI/CD runners
Browse files Browse the repository at this point in the history
Drop Intel macos binary support.

Signed-off-by: Taiki Ono <[email protected]>
  • Loading branch information
taiki45 committed Aug 30, 2024
1 parent be9edf4 commit 2f5789d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
if: github.event.pull_request.draft == false
name: Run CI tasks
timeout-minutes: 20
runs-on: ubuntu-latest
runs-on:
group: large-github-hosted-runner-production
labels: large-github-hosted-runner-production-32cores
steps:
- uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 # Latest
with:
Expand Down Expand Up @@ -77,14 +79,13 @@ jobs:
contents: write
env:
BUILD_CMD: cargo
runs-on: ${{ matrix.job.os }}
runs-on: ${{ matrix.job.runner }}
strategy:
fail-fast: false
matrix:
job:
# To sort the matrix, use inline syntax.
- { target: aarch64-apple-darwin, os: macos-14 }
- { target: x86_64-apple-darwin, os: macos-13 }
- { target: aarch64-apple-darwin, runner: macos-14-xlarge }
steps:
- uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 # Latest
with:
Expand All @@ -99,7 +100,7 @@ jobs:
run: |
tar --create --gzip --verbose --file=${{ needs.crate-metadata.outputs.name }}-${{ matrix.job.target }}.tar.gz --directory=target/${{ matrix.job.target }}/release ${{ needs.crate-metadata.outputs.name }}
- name: Install coreutils for macOS runner
if: ${{ contains(matrix.job.os, 'macos')}}
if: ${{ contains(matrix.job.runner, 'macos')}}
run: brew install coreutils
- name: Calculate checksum
run: |
Expand All @@ -121,7 +122,9 @@ jobs:
needs:
- crate-metadata
- ci
runs-on: ubuntu-latest
runs-on:
group: large-github-hosted-runner-production
labels: large-github-hosted-runner-production-64cores
permissions:
contents: write
packages: write
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: clippy-action
on: [pull_request]
jobs:
clippy:
runs-on: ubuntu-latest
runs-on:
group: large-github-hosted-runner-production
labels: large-github-hosted-runner-production-16cores
timeout-minutes: 10
permissions:
contents: read
Expand Down

0 comments on commit 2f5789d

Please sign in to comment.