Skip to content

Commit 4e1ad8e

Browse files
committed
macOS test
1 parent e4fcf13 commit 4e1ad8e

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 8 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'

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)