Skip to content

Commit

Permalink
nightly in build
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Nov 25, 2024
1 parent 7fa0e6f commit 2cabe5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust-version }}
toolchain: nightly
components: rustfmt

- name: Install OpenBLAS, LAPACK, OpenSSL (yum)
Expand All @@ -46,7 +46,7 @@ jobs:
${{ matrix.platform.python }} -m pip install cffi
- name: Build wheel
run: ${{ matrix.platform.python }} -m maturin build --release --out dist -i ${{ matrix.platform.python }} --target ${{ matrix.platform.target }}
run: rustup run nightly maturin build --release --out dist -i ${{ matrix.platform.python }} --target ${{ matrix.platform.target }}

- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -70,6 +70,7 @@ jobs:
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
rust-toolchain: nightly
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
Expand All @@ -87,6 +88,7 @@ jobs:
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
rust-toolchain: nightly
command: sdist
args: --out dist
- name: Upload sdist
Expand Down

0 comments on commit 2cabe5a

Please sign in to comment.