diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 53b0689..c620162 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -1,14 +1,13 @@ name: Wheels -on: workflow_call -# [push, pull_request] +on: [push, pull_request] jobs: - wheels_pytest: - uses: ./.github/workflows/pytest.yml +# wheels_pytest: +# uses: ./.github/workflows/pytest.yml build_wheels: name: Build wheels on ${{ matrix.os }} - needs: [ wheels_pytest ] +# needs: [ wheels_pytest ] runs-on: ${{ matrix.os }} strategy: matrix: @@ -19,18 +18,10 @@ jobs: - uses: actions/setup-python@v5 - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.21.3 - - - name: Set path - if: runner.os != 'Windows' - run: export PATH="$HOME/.cargo/bin:$PATH" - - - name: Check path - if: runner.os != 'Windows' - run: echo $PATH + run: pip install cibuildwheel==2.21.3 - name: Build wheels - run: python -m cibuildwheel --output-dir wheelhouse + run: cibuildwheel --output-dir wheelhouse - uses: actions/upload-artifact@v4 with: @@ -47,7 +38,7 @@ jobs: - name: Build sdist run: | pip install build - python -m build --sdist + build --sdist - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/where_is_cargo.yml b/.github/workflows/where_is_cargo.yml deleted file mode 100644 index f006d87..0000000 --- a/.github/workflows/where_is_cargo.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Where_is_cargo - -on: [push, pull_request] - -jobs: - where_is_cargo: - name: Where is cargo - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - - - name: Check path - if: runner.os != 'Windows' - run: which cargo - - - name: Check path - if: runner.os != 'Windows' - run: echo $PATH - - - name: Check path - if: runner.os != 'Windows' - run: echo $HOME \ No newline at end of file