Skip to content

Commit

Permalink
mv
Browse files Browse the repository at this point in the history
  • Loading branch information
aothms committed Dec 21, 2024
1 parent 262e11a commit 13c3fe9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
arch: x64
oldarch:
cpuarch: x86_64
macosx_ver: '10_15'
- os: macos
runner: macos-14
arch: arm64
oldarch: m1
cpuarch: arm64
macosx_ver: '11_0'

steps:
- name: Checkout Repository
Expand Down Expand Up @@ -89,6 +91,9 @@ jobs:
- name: Compile voxec
run: |
export CFLAGS="-Wl,-flat_namespace,-undefined,suppress"
export CXXFLAGS="-Wl,-flat_namespace,-undefined,suppress"
export LDFLAGS="-Wl,-flat_namespace,-undefined,suppress"
base=$(find $PWD/IfcOpenShell/build -maxdepth 4 -name install)
mkdir build
cd build
Expand Down Expand Up @@ -125,6 +130,7 @@ jobs:
PATH=$base/python-3.9.11/bin:$PATH python3 -m pip install build delocate
PATH=$base/python-3.9.11/bin:$PATH python3 -m build -w
PATH=$base/python-3.9.11/bin:$PATH delocate-wheel dist/*.whl -w audited
mv audited/voxec-0.4.0-cp39-none-any.whl audited/voxec-0.4.0-cp39-none-macosx_${{ matrix.macosx_ver }}_x86_64.whl
- name: Publish a Python distribution to PyPI
uses: ortega2247/pypi-upload-action@master
Expand Down

0 comments on commit 13c3fe9

Please sign in to comment.