@@ -19,10 +19,10 @@ jobs:
1919 - uses : actions/checkout@v4
2020 with :
2121 submodules : recursive
22- - name : Set up Python 3.8
23- uses : actions/setup-python@v2.2.1
22+ - name : Set up Python 3.10
23+ uses : actions/setup-python@v5
2424 with :
25- python-version : " 3.8 "
25+ python-version : " 3.10 "
2626 - name : Install tox
2727 run : pip install tox
2828 - name : Lint
@@ -39,10 +39,10 @@ jobs:
3939 - uses : actions/checkout@v4
4040 with :
4141 submodules : recursive
42- - name : Set up Python 3.8
43- uses : actions/setup-python@v2.2.1
42+ - name : Set up Python 3.10
43+ uses : actions/setup-python@v5
4444 with :
45- python-version : 3.8
45+ python-version : " 3.10 "
4646 - name : Install tox and upgrade setuptools and pip
4747 run : pip install --upgrade tox setuptools pip
4848 - name : Run tox -e ${{ matrix.tox_env }}
@@ -53,34 +53,34 @@ jobs:
5353 strategy :
5454 matrix :
5555 python-version :
56- - " 3.8"
57- - " 3.9"
5856 - " 3.10"
5957 - " 3.11"
6058 - " 3.12"
61- - " 3.13-dev "
62- - " pypy-3.9 "
59+ - " 3.13"
60+ - " 3.14 "
6361 - " pypy-3.10"
62+ - " pypy-3.11"
6463 os : ["ubuntu-latest"]
6564 include :
66- - os : " macos-14 " # For m1 macos
65+ - os : " macos-latest " # For m1 macos
6766 python-version : " 3.12"
6867 - os : " macos-13" # for x86 macos
69- python-version : " 3.8 "
68+ python-version : " 3.10 "
7069 - os : " windows-latest"
71- python-version : " 3.8 "
70+ python-version : " 3.10 "
7271 steps :
7372 - uses : actions/checkout@v4
7473 with :
7574 submodules : recursive
7675 - name : Set up Python ${{ matrix.python-version }}
77- uses : actions/setup-python@v2.2.1
76+ uses : actions/setup-python@v5
7877 with :
7978 python-version : ${{ matrix.python-version }}
79+ allow-prereleases : true
8080 - name : Install tox and upgrade setuptools
8181 run : pip install --upgrade tox setuptools
8282 - name : Set MSVC developer prompt
83- uses : ilammy/msvc-dev-cmd@v1.6.0
83+ uses : ilammy/msvc-dev-cmd@v1
8484 if : runner.os == 'Windows'
8585 - name : Install build dependencies (MacOS)
8686 run : brew install make
@@ -96,12 +96,12 @@ jobs:
9696 strategy :
9797 matrix :
9898 python_version :
99- - " 3.8 "
99+ - " 3.10 "
100100 steps :
101101 - uses : actions/checkout@v4
102102 with :
103103 submodules : recursive
104- - uses : uraimo/run-on-arch-action@v2.5.0
104+ - uses : uraimo/run-on-arch-action@v3
105105 name : Build & run test
106106 with :
107107 arch : none
@@ -129,7 +129,7 @@ jobs:
129129 os :
130130 - " ubuntu-latest"
131131 - " macos-13"
132- - " macos-14 "
132+ - " macos-latest "
133133 - " windows-latest"
134134 python_version : [ "python" ]
135135 include :
@@ -146,7 +146,7 @@ jobs:
146146 - name : Install requirements (universal)
147147 run : conda install zlib-ng ${{ matrix.python_version}} tox
148148 - name : Set MSVC developer prompt
149- uses : ilammy/msvc-dev-cmd@v1.6.0
149+ uses : ilammy/msvc-dev-cmd@v1
150150 if : runner.os == 'Windows'
151151 - name : Run tests (dynamic link)
152152 run : tox
@@ -167,7 +167,7 @@ jobs:
167167 os :
168168 - ubuntu-latest
169169 - macos-13
170- - macos-14
170+ - macos-latest
171171 - windows-latest
172172 cibw_archs_linux : ["x86_64"]
173173 build_sdist : [true]
@@ -179,25 +179,25 @@ jobs:
179179 with :
180180 submodules : recursive
181181 fetch-depth : 0 # Fetch everything to get accurately versioned tag.
182- - uses : actions/setup-python@v2
182+ - uses : actions/setup-python@v2 # Some issues where caused by higher versions.
183183 name : Install Python
184184 - name : Install cibuildwheel twine build
185185 run : python -m pip install cibuildwheel twine build
186186 - name : Install build dependencies (Macos)
187187 run : brew install make
188188 if : runner.os == 'macOS'
189189 - name : Set MSVC developer prompt
190- uses : ilammy/msvc-dev-cmd@v1.6.0
190+ uses : ilammy/msvc-dev-cmd@v1
191191 if : runner.os == 'Windows'
192192 - name : Set up QEMU
193193 if : ${{runner.os == 'Linux' && matrix.cibw_archs_linux == 'aarch64'}}
194- uses : docker/setup-qemu-action@v1.0.1
194+ uses : docker/setup-qemu-action@v3
195195 with :
196196 platforms : arm64
197197 - name : Build wheels
198198 run : cibuildwheel --output-dir dist
199199 env :
200- # Skip 32 bit, macosx_arm64 causes issues on cpython 3.8
200+ # Skip 32 bit, macosx_arm64 causes issues on cpython 3.9
201201 CIBW_SKIP : " *-win32 *-manylinux_i686 cp38-macosx_arm64"
202202 CIBW_ARCHS_LINUX : ${{ matrix.cibw_archs_linux }}
203203 CIBW_TEST_REQUIRES : " pytest"
@@ -218,14 +218,14 @@ jobs:
218218 CIBW_ENVIRONMENT_LINUX : >-
219219 PYTHON_ZLIB_NG_BUILD_CACHE=True
220220 PYTHON_ZLIB_NG_BUILD_CACHE_FILE=/tmp/build_cache
221- CFLAGS="-g0 -DNDEBUG"
221+ CFLAGS="-O3 -DNDEBUG"
222222 CIBW_ENVIRONMENT_WINDOWS : >-
223223 PYTHON_ZLIB_NG_BUILD_CACHE=True
224224 PYTHON_ZLIB_NG_BUILD_CACHE_FILE=${{ runner.temp }}\build_cache
225225 CIBW_ENVIRONMENT_MACOS : >-
226226 PYTHON_ZLIB_NG_BUILD_CACHE=True
227227 PYTHON_ZLIB_NG_BUILD_CACHE_FILE=${{ runner.temp }}/build_cache
228- CFLAGS="-g0 -DNDEBUG"
228+ CFLAGS="-O3 -DNDEBUG"
229229 - name : Build sdist
230230 if : ${{runner.os == 'Linux' && matrix.cibw_archs_linux == 'x86_64'}}
231231 run :
0 commit comments