Skip to content

Commit

Permalink
chore: Update test-meson workflow to include building Python wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
sunt05 committed May 15, 2024
1 parent 1522063 commit ee0e294
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/test-meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,21 @@ jobs:
# run: |
# meson setup build
# meson compile -C build
- name: test building wheels
run: |
python3 -m build --wheel
# - name: Build wheels
# uses: pypa/[email protected]
# env:
# # SETUPTOOLS_USE_DISTUTILS: stdlib
# CC: gcc
# CXX: g++
# with:
# # package-dir: ./src/supy
# output-dir: wheelhouse
# # config-file: ./src/supy/pyproject.toml
# - name: test building wheels
# run: |
# python3 -m build --wheel

- name: Build wheels
uses: pypa/[email protected]
env:
# SETUPTOOLS_USE_DISTUTILS: stdlib
CC: gcc
CXX: g++
CIBW_BEFORE_ALL_MACOS: "brew install gfortran gnu-sed && brew unlink gfortran && brew link gfortran"
with:
# package-dir: ./src/supy
output-dir: wheelhouse
# config-file: ./src/supy/pyproject.toml

# - name: Setup tmate session for debugging
# if: failure()
Expand Down

0 comments on commit ee0e294

Please sign in to comment.