Skip to content

Commit c70a978

Browse files
committed
macOS test
1 parent e4fcf13 commit c70a978

3 files changed

Lines changed: 18 additions & 4 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,18 @@ jobs:
1111
# os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-13, macos-latest]
1212
# os: [ubuntu-latest]
1313
# os: [windows-2019] #latest]
14-
os: [ubuntu-latest, windows-2019, ubuntu-24.04-arm]
14+
# os: [ubuntu-latest, windows-2019, ubuntu-24.04-arm]
15+
os: [macos-latest]
1516

1617
steps:
1718
- uses: actions/checkout@v4
1819

20+
- name: Install bootstrap Python (macOS only)
21+
if: runner.os == 'macOS'
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: '3.8'
25+
1926
# Apply patch only on Windows
2027
- name: Apply header patch on Windows
2128
if: matrix.os == 'windows-latest'
@@ -36,6 +43,13 @@ jobs:
3643
- name: Install cibuildwheel
3744
run: python3 -m pip install cibuildwheel==2.23.3
3845

46+
- name: Debug headers
47+
if: runner.os == 'macOS'
48+
run: |
49+
echo "-------- Start of vm_types.h -------"
50+
cat /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h
51+
echo "-------- End of vm_types.h -------"
52+
3953
- name: Build wheels
4054
run: python3 -m cibuildwheel --output-dir wheelhouse
4155
env:

eC

Submodule eC updated 55 files

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def check_i686_w64_available():
9797
with open(os.path.join(rwd, 'README.md'), encoding='u8') as f:
9898
long_description = f.read()
9999

100-
cpu_count = multiprocessing.cpu_count()
100+
cpu_count = 1 #multiprocessing.cpu_count()
101101
eC_dir = os.path.join(os.path.dirname(__file__), 'eC')
102102
eC_c_dir = os.path.join(os.path.dirname(__file__), 'eC', 'bindings', 'c')
103103
eC_py_dir = os.path.join(os.path.dirname(__file__), 'eC', 'bindings', 'py')
@@ -126,7 +126,7 @@ def build_package():
126126
#subprocess.check_call(['gcc', '-v', '-m32'], cwd=eC_dir, env=env)
127127
#subprocess.check_call(['gcc', '-print-sysroot', '-m32'], cwd=eC_dir, env=env)
128128
#subprocess.check_call([make_cmd, f'troubleshoot'], cwd=eC_dir, env=env)
129-
make_and_args = [make_cmd, f'-j{cpu_count}', 'SKIP_SONAME=y'] #, 'V=1']
129+
make_and_args = [make_cmd, f'-j{cpu_count}', 'SKIP_SONAME=y', 'V=1']
130130
if cc_override is not None:
131131
make_and_args.extend(cc_override)
132132

0 commit comments

Comments
 (0)