From 2cabe5a0b2c2ed7d9b7aacb913b8a3f169352ee9 Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Mon, 25 Nov 2024 11:43:23 +0000 Subject: [PATCH] nightly in build --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 004605f..ab471de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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) @@ -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 @@ -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' @@ -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