Skip to content

Commit

Permalink
remove build_wheels_linux from cd build
Browse files Browse the repository at this point in the history
  • Loading branch information
AgainstEntropy committed Aug 23, 2024
1 parent 10f50ea commit 8e0454c
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/build-wheels-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,47 +6,47 @@ permissions:
contents: write

jobs:
build_wheels_linux:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]

steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"

# Used to host cibuildwheel
- uses: actions/setup-python@v5
with:
python-version: "3.8"
cache: "pip"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
# python -m pip install -e .
python -m pip install build wheel
- name: Build wheels
uses: pypa/[email protected]
env:
# disable repair
CIBW_REPAIR_WHEEL_COMMAND: ""
CIBW_BUILD_FRONTEND: "build"
CIBW_SKIP: "*musllinux*"
CIBW_BUILD: "cp310-* cp311-* cp312-*"
CMAKE_BUILD_PARALLEL_LEVEL: 4
with:
package-dir: .
output-dir: wheelhouse

- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl
# build_wheels_linux:
# name: Build wheels on ${{ matrix.os }}
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-20.04]

# steps:
# - uses: actions/checkout@v4
# with:
# submodules: "recursive"

# # Used to host cibuildwheel
# - uses: actions/setup-python@v5
# with:
# python-version: "3.8"
# cache: "pip"

# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# # python -m pip install -e .
# python -m pip install build wheel

# - name: Build wheels
# uses: pypa/[email protected]
# env:
# # disable repair
# CIBW_REPAIR_WHEEL_COMMAND: ""
# CIBW_BUILD_FRONTEND: "build"
# CIBW_SKIP: "*musllinux*"
# CIBW_BUILD: "cp310-* cp311-* cp312-*"
# CMAKE_BUILD_PARALLEL_LEVEL: 4
# with:
# package-dir: .
# output-dir: wheelhouse

# - uses: actions/upload-artifact@v4
# with:
# name: wheels-${{ matrix.os }}
# path: ./wheelhouse/*.whl

build_wheels_win:
name: Build wheels on ${{ matrix.os }}
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:

release:
name: Release
needs: [build_wheels_linux, build_wheels_win, build_wheels_arm64, build_sdist]
needs: [build_wheels_win, build_wheels_arm64, build_sdist] # build_wheels_linux
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 8e0454c

Please sign in to comment.