Skip to content

Commit

Permalink
CI simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Maas committed Nov 28, 2024
1 parent cb32e62 commit c9d45d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python_build_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
name: Python Package
strategy:
matrix:
compiler: [ { os: ubuntu-24.04 } ]
os: [ ubuntu-24.04 ]
# { os: macos-latest, cpp: clang++, cc: clang, install_cmd: clang } ]

runs-on: ${{ matrix.compiler.os }}
runs-on: ${{ matrix.os }}
env:
CI_ACTIVE : 1
TBB_INSTALL_DIR: /tmp/tbb_build
Expand All @@ -28,13 +28,14 @@ jobs:
- name: Build Python Wheels
run: |
# run cmake to create pyproject.toml from pyproject.toml.in
cmake -B configure_python --preset=minimal -DKAHYPAR_SETUP_PYTHON=On -DKAHYPAR_TBB_DIR=$TBB_INSTALL_DIR
rm -rf configure_python
python3 -m cibuildwheel --output-dir wheels
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.compiler.os }}-${{ strategy.job-index }}
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheels/*.whl

# TODO: tests
1 change: 0 additions & 1 deletion pyproject.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ install.components = ["MtKaHyPar_Python"]
# cibuildwheel orchestrates the build for different platforms
[tool.cibuildwheel]
build = "cp312-manylinux_x86_64"
enable = []

[tool.cibuildwheel.linux]
before-build = "yum -y install hwloc-devel"
Expand Down

0 comments on commit c9d45d8

Please sign in to comment.