File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,13 @@ jobs:
18
18
arch : x64
19
19
oldarch :
20
20
cpuarch : x86_64
21
+ macosx_ver : ' 10_15'
21
22
- os : macos
22
23
runner : macos-14
23
24
arch : arm64
24
25
oldarch : m1
25
26
cpuarch : arm64
27
+ macosx_ver : ' 11_0'
26
28
27
29
steps :
28
30
- name : Checkout Repository
89
91
90
92
- name : Compile voxec
91
93
run : |
94
+ export CFLAGS="-Wl,-flat_namespace,-undefined,suppress"
95
+ export CXXFLAGS="-Wl,-flat_namespace,-undefined,suppress"
96
+ export LDFLAGS="-Wl,-flat_namespace,-undefined,suppress"
92
97
base=$(find $PWD/IfcOpenShell/build -maxdepth 4 -name install)
93
98
mkdir build
94
99
cd build
@@ -125,6 +130,7 @@ jobs:
125
130
PATH=$base/python-3.9.11/bin:$PATH python3 -m pip install build delocate
126
131
PATH=$base/python-3.9.11/bin:$PATH python3 -m build -w
127
132
PATH=$base/python-3.9.11/bin:$PATH delocate-wheel dist/*.whl -w audited
133
+ mv audited/voxec-0.4.0-cp39-none-any.whl audited/voxec-0.4.0-cp39-none-macosx_${{ matrix.macosx_ver }}_x86_64.whl
128
134
129
135
- name : Publish a Python distribution to PyPI
130
136
uses : ortega2247/pypi-upload-action@master
You can’t perform that action at this time.
0 commit comments