Skip to content

Commit

Permalink
Switch to new Github Action for rust installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael O'Keefe authored and Michael O'Keefe committed Nov 20, 2024
1 parent e3b200d commit 51bd2ef
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push]

jobs:
build-and-test:
name: build ${{ matrix.python-version }} on ${{ matrix.platform || matrix.os.base }}
name: build py3.${{ matrix.python-version }} on ${{ matrix.platform || matrix.os.base }}
strategy:
fail-fast: true
matrix:
Expand All @@ -25,22 +25,20 @@ jobs:
- "9"
- "10"
include:
- os: ubuntu
- os:
base: ubuntu
version: latest
platform: linux
- os: windows
- os:
base: windows
version: latest
ls: dir
runs-on: ${{ format('{0}-{1}', matrix.os.base, matrix.os.version) }}
steps:
- uses: actions/checkout@v4

- name: set up rust
if: matrix.os != 'ubuntu'
uses: action-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
# uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@stable

- run: rustup target add aarch64-apple-darwin
if: matrix.os.base == 'macos' && matrix.os.version == '14'
Expand Down

0 comments on commit 51bd2ef

Please sign in to comment.