3333 - make-source-dist
3434 strategy :
3535 matrix :
36- python_version : ['3.8', '3.13 ']
36+ python_version : ['3.14 ']
3737 steps :
3838 - name : Install Python
3939 uses : actions/setup-python@v5
@@ -100,164 +100,164 @@ jobs:
100100 name : wheel-dist-${{ matrix.python_version }}-linux
101101 path : dist
102102
103- build-for-windows :
104- runs-on : windows-2022
105- needs :
106- - make-source-dist
107- strategy :
108- matrix :
109- python_version : ['3.8', '3.13']
110- steps :
111- - name : Install Python
112- uses : actions/setup-python@v5
113- with :
114- python-version : ${{ matrix.python_version }}
115- - name : Install Python packages
116- run : pip install build delvewheel twine
117- - name : Install CUDA
118- uses : Jimver/cuda-toolkit@v0.2.19
119- id : cuda-toolkit
120- with :
121- cuda : ' 12.4.1'
122- use-github-cache : false
123- use-local-cache : false
124- method : network
125- # Package names from https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#id2
126- sub-packages : ' ["nvcc", "cudart"]'
127- - name : Install MSys2
128- uses : msys2/setup-msys2@v2
129- with :
130- update : true
131- msystem : UCRT64
132- install : >-
133- gzip
134- tar
135- unzip
136- wget
137- - name : Install boost
138- shell : msys2 {0}
139- run : |
140- cd /d/a
141- wget https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_1_82_0.tar.gz
142- tar xf boost_*.tar.gz
143- rm boost_*.tar.gz
144- mv boost_* boost
145- cd boost
146- mkdir -p /d/lincs-deps/include /d/lincs-deps/lib
147- cp -r boost /d/lincs-deps/include
148- - name : Install OR-Tools
149- shell : msys2 {0}
150- run : |
151- cd /d/a
152- wget https://github.com/google/or-tools/releases/download/v9.11/or-tools_x64_VisualStudio2022_cpp_v9.11.4210.zip
153- unzip or-tools_*.zip
154- rm or-tools_*.zip
155- cd or-tools_*
156- cp -r include/* /d/lincs-deps/include
157- cp -r lib/* /d/lincs-deps/lib
103+ # build-for-windows:
104+ # runs-on: windows-2022
105+ # needs:
106+ # - make-source-dist
107+ # strategy:
108+ # matrix:
109+ # python_version: ['3.8', '3.13']
110+ # steps:
111+ # - name: Install Python
112+ # uses: actions/setup-python@v5
113+ # with:
114+ # python-version: ${{ matrix.python_version }}
115+ # - name: Install Python packages
116+ # run: pip install build delvewheel twine
117+ # - name: Install CUDA
118+ # uses: Jimver/cuda-toolkit@v0.2.19
119+ # id: cuda-toolkit
120+ # with:
121+ # cuda: '12.4.1'
122+ # use-github-cache: false
123+ # use-local-cache: false
124+ # method: network
125+ # # Package names from https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#id2
126+ # sub-packages: '["nvcc", "cudart"]'
127+ # - name: Install MSys2
128+ # uses: msys2/setup-msys2@v2
129+ # with:
130+ # update: true
131+ # msystem: UCRT64
132+ # install: >-
133+ # gzip
134+ # tar
135+ # unzip
136+ # wget
137+ # - name: Install boost
138+ # shell: msys2 {0}
139+ # run: |
140+ # cd /d/a
141+ # wget https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_1_82_0.tar.gz
142+ # tar xf boost_*.tar.gz
143+ # rm boost_*.tar.gz
144+ # mv boost_* boost
145+ # cd boost
146+ # mkdir -p /d/lincs-deps/include /d/lincs-deps/lib
147+ # cp -r boost /d/lincs-deps/include
148+ # - name: Install OR-Tools
149+ # shell: msys2 {0}
150+ # run: |
151+ # cd /d/a
152+ # wget https://github.com/google/or-tools/releases/download/v9.11/or-tools_x64_VisualStudio2022_cpp_v9.11.4210.zip
153+ # unzip or-tools_*.zip
154+ # rm or-tools_*.zip
155+ # cd or-tools_*
156+ # cp -r include/* /d/lincs-deps/include
157+ # cp -r lib/* /d/lincs-deps/lib
158158
159- - name : Download the source distribution from GitHub Actions artifacts
160- uses : actions/download-artifact@v4
161- with :
162- name : source-dist
163- - name : Unzip the source distribution
164- shell : msys2 {0}
165- run : |
166- tar xf *.tar.gz
167- rm *.tar.gz
159+ # - name: Download the source distribution from GitHub Actions artifacts
160+ # uses: actions/download-artifact@v4
161+ # with:
162+ # name: source-dist
163+ # - name: Unzip the source distribution
164+ # shell: msys2 {0}
165+ # run: |
166+ # tar xf *.tar.gz
167+ # rm *.tar.gz
168168
169- - name : Build the wheel
170- run : python -m build --wheel --outdir local-dist (get-item lincs-*)
171- env :
172- LINCS_DEV_FORCE_NVCC : " true"
173- LINCS_DEV_DEPENDENCIES : d:\lincs-deps
174- - name : Make the wheel machine-independent
175- run : delvewheel repair --strip (get-item local-dist\*.whl) --wheel-dir dist --add-path d:\lincs-deps\lib
176- - name : Check the wheel
177- run : twine check (get-item dist\*.whl)
169+ # - name: Build the wheel
170+ # run: python -m build --wheel --outdir local-dist (get-item lincs-*)
171+ # env:
172+ # LINCS_DEV_FORCE_NVCC: "true"
173+ # LINCS_DEV_DEPENDENCIES: d:\lincs-deps
174+ # - name: Make the wheel machine-independent
175+ # run: delvewheel repair --strip (get-item local-dist\*.whl) --wheel-dir dist --add-path d:\lincs-deps\lib
176+ # - name: Check the wheel
177+ # run: twine check (get-item dist\*.whl)
178178
179- - name : Upload the wheel to GitHub Actions artifacts
180- uses : actions/upload-artifact@v4
181- with :
182- name : wheel-dist-${{ matrix.python_version }}-windows
183- path : dist
179+ # - name: Upload the wheel to GitHub Actions artifacts
180+ # uses: actions/upload-artifact@v4
181+ # with:
182+ # name: wheel-dist-${{ matrix.python_version }}-windows
183+ # path: dist
184184
185- build-for-macos :
186- runs-on : macos-13
187- needs :
188- - make-source-dist
189- strategy :
190- matrix :
191- python_version : ['3.8', '3.13']
192- env :
193- MACOSX_DEPLOYMENT_TARGET : 12.0
194- steps :
195- - name : Install Python
196- uses : actions/setup-python@v5
197- with :
198- python-version : ${{ matrix.python_version }}
199- - name : Install Python packages
200- run : pip3 install build delocate twine
201- - name : Install OpenMP
202- run : |
203- cd /Users/runner/work
204- mkdir openmp
205- cd openmp
206- wget https://mac.r-project.org/openmp/openmp-16.0.4-darwin20-Release.tar.gz
207- tar xf *.tar.gz
208- sudo cp usr/local/lib/* /usr/local/lib
209- sudo cp usr/local/include/* /usr/local/include
210- - name : Install Boost
211- run : |
212- cd /Users/runner/work
213- wget https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_1_82_0.tar.gz
214- tar xf boost_*.tar.gz
215- rm boost_*.tar.gz
216- cd boost_*
217- sudo cp -r boost /usr/local/include
218- - name : Install OR-Tools
219- run : |
220- cd /Users/runner/work
221- wget https://github.com/google/or-tools/releases/download/v9.11/or-tools_x86_64_macOS-14.6.1_cpp_v9.11.4210.tar.gz
222- tar xf or-tools_x86_64_*.tar.gz
223- rm or-tools_x86_64_*.tar.gz
224- wget https://github.com/google/or-tools/releases/download/v9.11/or-tools_arm64_macOS-14.6.1_cpp_v9.11.4210.tar.gz
225- tar xf or-tools_arm64_*.tar.gz
226- rm or-tools_arm64_*.tar.gz
227- sudo cp -r or-tools_arm64_*/include/* /usr/local/include
228- lipo or-tools*/lib/libortools.9.11.dylib -output /usr/local/lib/libortools.9.11.dylib -create
229- cd /usr/local/lib
230- ln -s libortools.9.11.dylib libortools.9.dylib
231- ln -s libortools.9.dylib libortools.dylib
185+ # build-for-macos:
186+ # runs-on: macos-13
187+ # needs:
188+ # - make-source-dist
189+ # strategy:
190+ # matrix:
191+ # python_version: ['3.8', '3.13']
192+ # env:
193+ # MACOSX_DEPLOYMENT_TARGET: 12.0
194+ # steps:
195+ # - name: Install Python
196+ # uses: actions/setup-python@v5
197+ # with:
198+ # python-version: ${{ matrix.python_version }}
199+ # - name: Install Python packages
200+ # run: pip3 install build delocate twine
201+ # - name: Install OpenMP
202+ # run: |
203+ # cd /Users/runner/work
204+ # mkdir openmp
205+ # cd openmp
206+ # wget https://mac.r-project.org/openmp/openmp-16.0.4-darwin20-Release.tar.gz
207+ # tar xf *.tar.gz
208+ # sudo cp usr/local/lib/* /usr/local/lib
209+ # sudo cp usr/local/include/* /usr/local/include
210+ # - name: Install Boost
211+ # run: |
212+ # cd /Users/runner/work
213+ # wget https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_1_82_0.tar.gz
214+ # tar xf boost_*.tar.gz
215+ # rm boost_*.tar.gz
216+ # cd boost_*
217+ # sudo cp -r boost /usr/local/include
218+ # - name: Install OR-Tools
219+ # run: |
220+ # cd /Users/runner/work
221+ # wget https://github.com/google/or-tools/releases/download/v9.11/or-tools_x86_64_macOS-14.6.1_cpp_v9.11.4210.tar.gz
222+ # tar xf or-tools_x86_64_*.tar.gz
223+ # rm or-tools_x86_64_*.tar.gz
224+ # wget https://github.com/google/or-tools/releases/download/v9.11/or-tools_arm64_macOS-14.6.1_cpp_v9.11.4210.tar.gz
225+ # tar xf or-tools_arm64_*.tar.gz
226+ # rm or-tools_arm64_*.tar.gz
227+ # sudo cp -r or-tools_arm64_*/include/* /usr/local/include
228+ # lipo or-tools*/lib/libortools.9.11.dylib -output /usr/local/lib/libortools.9.11.dylib -create
229+ # cd /usr/local/lib
230+ # ln -s libortools.9.11.dylib libortools.9.dylib
231+ # ln -s libortools.9.dylib libortools.dylib
232232
233- - name : Download the source distribution from GitHub Actions artifacts
234- uses : actions/download-artifact@v4
235- with :
236- name : source-dist
237- - name : Unzip the source distribution
238- run : |
239- tar xf *.tar.gz
240- rm *.tar.gz
233+ # - name: Download the source distribution from GitHub Actions artifacts
234+ # uses: actions/download-artifact@v4
235+ # with:
236+ # name: source-dist
237+ # - name: Unzip the source distribution
238+ # run: |
239+ # tar xf *.tar.gz
240+ # rm *.tar.gz
241241
242- - name : Build the wheel
243- run : python3 -m build --wheel --outdir local-dist lincs-*
244- - name : Make the wheel machine-independent
245- run : delocate-wheel --wheel-dir dist local-dist/*.whl
246- - name : Check the wheel
247- run : twine check dist/*.whl
242+ # - name: Build the wheel
243+ # run: python3 -m build --wheel --outdir local-dist lincs-*
244+ # - name: Make the wheel machine-independent
245+ # run: delocate-wheel --wheel-dir dist local-dist/*.whl
246+ # - name: Check the wheel
247+ # run: twine check dist/*.whl
248248
249- - name : Upload the wheel to GitHub Actions artifacts
250- uses : actions/upload-artifact@v4
251- with :
252- name : wheel-dist-${{ matrix.python_version }}-macos
253- path : dist
249+ # - name: Upload the wheel to GitHub Actions artifacts
250+ # uses: actions/upload-artifact@v4
251+ # with:
252+ # name: wheel-dist-${{ matrix.python_version }}-macos
253+ # path: dist
254254
255255 check :
256256 runs-on : ${{ matrix.os }}
257257 needs :
258258 - build-for-linux
259- - build-for-windows
260- - build-for-macos
259+ # - build-for-windows
260+ # - build-for-macos
261261 strategy :
262262 fail-fast : false
263263 matrix :
@@ -270,7 +270,7 @@ jobs:
270270 - macos-13
271271 - macos-14
272272 - macos-15
273- python_version : ['3.8', '3.13 ']
273+ python_version : ['3.14 ']
274274 exclude :
275275 # Older Python versions don't build 'universal2' wheels, so they can't run on the M1 runner that run macOS 14 and 15
276276 - os : macos-14
0 commit comments