From 8b618b8f8a5ef7661d43e936973493d5c7505ca1 Mon Sep 17 00:00:00 2001 From: Wim Pomp Date: Wed, 16 Oct 2024 15:49:21 +0200 Subject: [PATCH] - workflows --- .github/workflows/wheels.yml | 23 +++++++---------------- .github/workflows/where_is_cargo.yml | 24 ------------------------ 2 files changed, 7 insertions(+), 40 deletions(-) delete mode 100644 .github/workflows/where_is_cargo.yml 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