Skip to content

Commit 5b30b5b

Browse files
authored
Merge pull request #2568 from ERGO-Code/master-fix-ci-and-pyproject
Master fix ci and pyproject
2 parents 246107a + c731284 commit 5b30b5b

File tree

5 files changed

+40
-39
lines changed

5 files changed

+40
-39
lines changed

.github/workflows/build-wheels-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- uses: actions/checkout@v4
6060

6161
- name: Build wheels
62-
uses: pypa/cibuildwheel@v2.21
62+
uses: pypa/cibuildwheel@v3.0
6363
env:
6464
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
6565

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ jobs:
4747
steps:
4848
- uses: actions/checkout@v4
4949
- name: Build wheels
50-
uses: pypa/cibuildwheel@v2.21
50+
uses: pypa/cibuildwheel@v3.0
5151
env:
5252
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}

.github/workflows/build-windows.yml

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -381,36 +381,38 @@ jobs:
381381
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
382382
run: ctest --output-on-failure -C Debug
383383

384-
windows_debug64_fb_off:
385-
runs-on: windows-latest
386-
387-
steps:
388-
- uses: actions/checkout@v4
389-
390-
- name: Create Build Environment
391-
# Some projects don't allow in-source building, so create a separate build directory
392-
# We'll use this as our working directory for all subsequent commands
393-
run: cmake -E make_directory ${{runner.workspace}}/build
394-
395-
- name: Configure CMake
396-
# Use a bash shell so we can use the same syntax for environment variable
397-
# access regardless of the host operating system
398-
shell: bash
399-
working-directory: ${{runner.workspace}}/build
400-
# Note the current convention is to use the -S and -B options here to specify source
401-
# and build directories, but this is only available with CMake 3.13 and higher.
402-
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
403-
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DFAST_BUILD=OFF -DHIGHSINT64=on -DHIGHS_NO_DEFAULT_THREADS=ON
404-
405-
- name: Build
406-
working-directory: ${{runner.workspace}}/build
407-
shell: bash
408-
# Execute the build. You can specify a specific target with "--target <NAME>"
409-
run: cmake --build . --config Debug --parallel
410-
411-
- name: Test
412-
working-directory: ${{runner.workspace}}/build
413-
shell: bash
414-
# Execute tests defined by the CMake configuration.
415-
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
416-
run: ctest --output-on-failure -C Debug
384+
# Switch off, fortran compiler lookup taking hours on new windows runner.
385+
# For fortran is best to use FAST_BUILD ON anyway.
386+
# windows_debug64_fb_off:
387+
# runs-on: windows-latest
388+
389+
# steps:
390+
# - uses: actions/checkout@v4
391+
392+
# - name: Create Build Environment
393+
# # Some projects don't allow in-source building, so create a separate build directory
394+
# # We'll use this as our working directory for all subsequent commands
395+
# run: cmake -E make_directory ${{runner.workspace}}/build
396+
397+
# - name: Configure CMake
398+
# # Use a bash shell so we can use the same syntax for environment variable
399+
# # access regardless of the host operating system
400+
# shell: bash
401+
# working-directory: ${{runner.workspace}}/build
402+
# # Note the current convention is to use the -S and -B options here to specify source
403+
# # and build directories, but this is only available with CMake 3.13 and higher.
404+
# # The CMake binaries on the Github Actions machines are (as of this writing) 3.12
405+
# run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DFAST_BUILD=OFF -DHIGHSINT64=on -DHIGHS_NO_DEFAULT_THREADS=ON
406+
407+
# - name: Build
408+
# working-directory: ${{runner.workspace}}/build
409+
# shell: bash
410+
# # Execute the build. You can specify a specific target with "--target <NAME>"
411+
# run: cmake --build . --config Debug --parallel
412+
413+
# - name: Test
414+
# working-directory: ${{runner.workspace}}/build
415+
# shell: bash
416+
# # Execute tests defined by the CMake configuration.
417+
# # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
418+
# run: ctest --output-on-failure -C Debug

check/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ if ((NOT FAST_BUILD OR ALL_TESTS) AND NOT (BUILD_EXTRA_UNIT_ONLY))
258258
"lseu\;1120|1119.9999999\;"
259259
"egout\;(568.1007|568.1006999)\;"
260260
"gt2\;21166\;"
261-
"rgn\;82.1999992\;"
261+
"rgn\;82.19999\;"
262262
"bell5\;(8966406.49152|8966406.491519|8966406.49151)\;"
263263
"sp150x300d\;(69|68.9999999)\;"
264264
"p0548\;(8691|8690.9999999)\;"

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,11 @@ testpaths = ["tests"]
202202

203203
[tool.cibuildwheel]
204204
build = "*"
205-
skip = "cp3{6,7}-*"
205+
archs = ["auto64", "auto32"]
206206

207207
# Enable free-threaded support
208-
free-threaded-support = true
208+
enable = ["cpython-freethreading"]
209209

210210
test-command = "pytest {project}/tests"
211211
test-extras = ["test", "numpy"]
212-
test-skip = ["*universal2:arm64"]
213212
build-verbosity = 1

0 commit comments

Comments
 (0)