2828 - name : Install Ubuntu Dependencies
2929 if : matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
3030 run : |
31- sudo apt-get update
32- sudo apt-get install -y gfortran cmake ninja-build libboost-all-dev libhdf5-dev libbz2-dev libssl-dev liblzma-dev
31+ sudo apt update
32+ sudo apt install -y nala
33+ sudo nala install -y gfortran cmake ninja-build libboost-all-dev libzip-dev libhdf5-dev libbz2-dev libssl-dev liblzma-dev
3334
3435 - name : Install Intel MacOS Dependencies
3536 if : matrix.os == 'macos-13'
@@ -63,19 +64,22 @@ jobs:
6364 - name : Install Windows Dependencies
6465 if : matrix.os == 'windows-latest'
6566 run : |
66- choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
67- choco install ninja
68- choco install msys2
69- C:\tools\msys64\usr\bin\bash -lc "pacman -Sy --noconfirm \
70- mingw-w64-clang-x86_64-cmake \
71- mingw-w64-clang-x86_64-ninja \
72- mingw-w64-clang-x86_64-toolchain \
73- mingw-w64-clang-x86_64-boost \
74- mingw-w64-clang-x86_64-hdf5 \
75- mingw-w64-clang-x86_64-zlib \
76- mingw-w64-clang-x86_64-libaec"
67+ choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
68+ choco install ninja
69+ choco install msys2
70+ C:\tools\msys64\usr\bin\bash -lc "pacman -Sy --noconfirm \
71+ mingw-w64-clang-x86_64-cmake \
72+ mingw-w64-clang-x86_64-ninja \
73+ mingw-w64-clang-x86_64-toolchain \
74+ mingw-w64-clang-x86_64-boost \
75+ mingw-w64-clang-x86_64-hdf5 \
76+ mingw-w64-clang-x86_64-zlib \
77+ mingw-w64-clang-x86_64-libaec"
7778
7879 echo "C:\tools\msys64\mingw64\bin" | Out-File -Append -Encoding ascii $env:GITHUB_PATH
80+ echo "C:\tools\msys64\clang64\bin" | Out-File -Append -Encoding ascii $env:GITHUB_PATH
81+ echo "C:\tools\msys64\clang64\lib" | Out-File -Append -Encoding ascii $env:GITHUB_PATH
82+ echo "C:\tools\msys64\clang64\include" | Out-File -Append -Encoding ascii $env:GITHUB_PATH
7983
8084 - name : Build Wheels (Windows)
8185 uses : pypa/cibuildwheel@v2.23.2
@@ -92,10 +96,23 @@ jobs:
9296 # output-dir: wheelhouse
9397 # config-file: "{package}/pyproject.toml"
9498
95- - name : Build Wheels (MacOS)
99+ - name : Build Wheels (MacOS<x86_64> )
96100 uses : pypa/cibuildwheel@v2.23.2
97- if : matrix.os == 'macos-13' || matrix.os == 'macos-14'
101+ if : matrix.os == 'macos-13'
102+ env :
103+ CIBW_BUILD : ${{ matrix.python_version }}
104+ CIBW_ENVIRONMENT : >
105+ FC=/usr/local/bin/gfortran
106+ # with:
107+ # package-dir: .
108+ # output-dir: wheelhouse
109+ # config-file: "{package}/pyproject.toml"
110+
111+ - name : Build Wheels (MacOS<ARM>)
112+ uses : pypa/cibuildwheel@v2.23.2
113+ if : matrix.os == 'macos-14'
98114 env :
115+ MACOSX_DEPLOYMENT_TARGET : 14.0
99116 CIBW_BUILD : ${{ matrix.python_version }}
100117 CIBW_ENVIRONMENT : >
101118 FC=/opt/homebrew/bin/gfortran-14
@@ -108,6 +125,7 @@ jobs:
108125 uses : pypa/cibuildwheel@v2.23.2
109126 if : matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
110127 env :
128+ LIBZIP_INCLUDE_DIR : ' /usr/include/zip.h'
111129 CIBW_BUILD : ${{ matrix.python_version }}
112130 # with:
113131 # package-dir: .
@@ -116,7 +134,7 @@ jobs:
116134
117135 - uses : actions/upload-artifact@v4
118136 with :
119- name : cibw-wheels -${{ matrix.os }}-${{ strategy.job-index }}
137+ name : pyvcell-fv -${{ matrix.os }}-${{ matrix.python_version }}-cibw-wheels
120138 path : ./wheelhouse/*.whl
121139
122140 - name : Setup tmate session for PyPI upload failure
0 commit comments