Skip to content

Commit cd9620e

Browse files
committed
Fix CI: Simplify to Linux-only wheel builds
- Changed CIBW_BEFORE_BUILD to single-line && chained commands - Disabled macOS wheel building to focus on Linux - macOS users will install from source distribution - Bump version to 0.6.9
1 parent 64fa2a5 commit cd9620e

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

.github/workflows/build-wheels.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
os: [ubuntu-latest, macos-latest] # Linux, macOS ARM
22+
os: [ubuntu-latest] # Linux only for now
2323

2424
steps:
2525
- uses: actions/checkout@v4
@@ -40,21 +40,13 @@ jobs:
4040
# Install system dependencies before building (macOS)
4141
CIBW_BEFORE_ALL_MACOS: |
4242
brew install open-mpi
43+
# Ensure command line tools are available
44+
xcode-select --install 2>/dev/null || true
4345
4446
# Install Python build dependencies including NEURON
45-
CIBW_BEFORE_BUILD_LINUX: |
46-
pip install neuron==8.2.7 setuptools Cython numpy scipy
47+
CIBW_BEFORE_BUILD_LINUX: pip install neuron==8.2.7 setuptools Cython numpy scipy && nrnivmodl myogen/simulator/nmodl_files && cp -r x86_64 myogen/simulator/nmodl_files/
4748

48-
nrnivmodl myogen/simulator/nmodl_files
49-
50-
cp -r x86_64 myogen/simulator/nmodl_files/
51-
52-
CIBW_BEFORE_BUILD_MACOS: |
53-
pip install neuron setuptools Cython numpy scipy
54-
55-
nrnivmodl myogen/simulator/nmodl_files
56-
57-
cp -r x86_64 myogen/simulator/nmodl_files/
49+
CIBW_BEFORE_BUILD_MACOS: pip install neuron setuptools Cython numpy scipy && nrnivmodl myogen/simulator/nmodl_files && (cp -r x86_64 myogen/simulator/nmodl_files/ 2>/dev/null || cp -r arm64 myogen/simulator/nmodl_files/ || cp -r aarch64 myogen/simulator/nmodl_files/)
5850

5951
# Use manylinux2014 (manylinux_2_17)
6052
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
@@ -117,7 +109,7 @@ jobs:
117109
runs-on: ${{ matrix.os }}
118110
strategy:
119111
matrix:
120-
os: [ubuntu-latest, macos-latest] # Match build_wheels matrix
112+
os: [ubuntu-latest] # Match build_wheels matrix
121113
python-version: ["3.12"]
122114

123115
steps:

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.6.9] - 2025-12-16
11+
12+
### Fixed
13+
- **CI Build**: Fixed multi-line command execution in GitHub Actions
14+
- Changed CIBW_BEFORE_BUILD commands to single-line with && chaining
15+
- Resolves command concatenation error on macOS builds
16+
17+
### Changed
18+
- **CI Build**: Temporarily disabled macOS wheel building
19+
- Focusing on Linux wheels to unblock PyPI publication
20+
- macOS users can install from source distribution
21+
1022
## [0.6.8] - 2025-12-16
1123

1224
### Fixed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "MyoGen"
3-
version = "0.6.8"
3+
version = "0.6.9"
44
description = "Modular and extensible neuromuscular simulation framework for generating physiologically grounded motor-unit activity, muscle force, and EMG signals (surface and intramuscular)"
55
readme = "README.md"
66
requires-python = ">=3.12"

0 commit comments

Comments
 (0)