Skip to content

Building HIT with python packaging #5

Building HIT with python packaging

Building HIT with python packaging #5

Workflow file for this run

name: moose_hit
on: [pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }} with CPython-${{ matrix.python }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
cibuild:
- {os: 'ubuntu-latest', platform: 'manylinux', arch: 'x86_64'}
- {os: 'macos-13', platform: 'macosx', arch: 'x86_64'}
- {os: 'macos-14', platform: 'macosx', arch: 'arm64'}
python: ['310', '311', '312', '313']
steps:
- uses: actions/checkout@v5
- name: Checkout WASP
run: git submodule update --init --checkout --recursive framework/contrib/wasp/
- uses: actions/setup-python@v5
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==3.1.4
- name: Build wheels
run: python -m cibuildwheel framework/contrib/hit/ --output-dir wheelhouse
env:
MOOSE_DIR: ${{ github.workspace }}
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.cibuild.platform }}_${{ matrix.cibuild.arch }}
- name: List wheels
run: ls ./wheelhouse/*.whl