forked from Urban-Meteorology-Reading/SUEWS
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update test-meson workflow to include building Python wheels
- Loading branch information
Showing
1 changed file
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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() | ||
|