diff --git a/.github/workflows/nonvendored_wheels.yml b/.github/workflows/nonvendored_wheels.yml index 69a906b..8164cf3 100644 --- a/.github/workflows/nonvendored_wheels.yml +++ b/.github/workflows/nonvendored_wheels.yml @@ -44,7 +44,13 @@ jobs: with: submodules: true - - uses: pypa/cibuildwheel@v2.16.2 + - uses: actions/setup-python@v3 + + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.16.5 + + - name: Build wheels + run: python -m cibuildwheel --output-dir wheelhouse - name: Verify clean directory run: git diff --exit-code diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f7bab5c..30b4e5f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -44,7 +44,13 @@ jobs: with: submodules: true - - uses: pypa/cibuildwheel@v2.16.2 + - uses: actions/setup-python@v3 + + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.16.5 + + - name: Build wheels + run: python -m cibuildwheel --output-dir wheelhouse env: CIBW_ENVIRONMENT: CMAKE_ARGS="-DSDTN_ENABLE_ARCH_FLAGS=OFF -DSDTN_ENABLE_OPENMP=ON -DSDTN_DISABLE_OPENMP=OFF" CIBW_TEST_COMMAND: pytest {project}/tests && python -c "from sparse_dot_topn import _has_openmp_support;assert _has_openmp_support"