Skip to content

Commit e91f468

Browse files
Set python version to 3.12 for every OS. Disabled MacOS jobs
1 parent 195be25 commit e91f468

File tree

1 file changed

+14
-30
lines changed

1 file changed

+14
-30
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ jobs:
3232
# setup_build_env: 'call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat"'
3333
# activate_venv: 'call ".venv\\Scripts\\activate.bat"'
3434

35+
- name: macos14_clang15
36+
os: macos-14
37+
compiler: clang
38+
compiler_version: 15
39+
setup_build_env: ""
40+
activate_venv: 'source .venv/bin/activate'
41+
3542
- name: ubuntu2204_gcc12
3643
os: ubuntu-22.04
3744
compiler: gcc
@@ -46,13 +53,6 @@ jobs:
4653
setup_build_env: ""
4754
activate_venv: 'source .venv/bin/activate'
4855

49-
- name: macos14_clang15
50-
os: macos-14
51-
compiler: clang
52-
compiler_version: 15
53-
setup_build_env: ""
54-
activate_venv: 'source .venv/bin/activate'
55-
5656
runs-on: ${{ matrix.config.os }}
5757
name: CI ${{ matrix.config.name }} ${{ matrix.build_type }}
5858

@@ -63,14 +63,6 @@ jobs:
6363
submodules: true
6464

6565
- name: Set Python version
66-
if: matrix.config.os == 'windows-2022' || matrix.config.os == 'windows-2019' || matrix.config.os == 'ubuntu-22.04'
67-
uses: actions/setup-python@v5
68-
with:
69-
python-version: '3.12'
70-
architecture: 'x64'
71-
72-
- name: Set Python version
73-
if: matrix.config.os == 'macos-14'
7466
uses: actions/setup-python@v5
7567
with:
7668
python-version: '3.12'
@@ -189,6 +181,13 @@ jobs:
189181
# setup_build_env: 'call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat"'
190182
# activate_venv: 'call ".venv\\Scripts\\activate.bat"'
191183

184+
# - name: macos14_clang15
185+
# os: macos-14
186+
# compiler: clang
187+
# compiler_version: 15
188+
# setup_build_env: ""
189+
# activate_venv: 'source .venv/bin/activate'
190+
192191
- name: ubuntu2204_gcc12
193192
os: ubuntu-22.04
194193
compiler: gcc
@@ -203,13 +202,6 @@ jobs:
203202
setup_build_env: ""
204203
activate_venv: 'source .venv/bin/activate'
205204

206-
- name: macos14_clang15
207-
os: macos-14
208-
compiler: clang
209-
compiler_version: 15
210-
setup_build_env: ""
211-
activate_venv: 'source .venv/bin/activate'
212-
213205
runs-on: ${{ matrix.config.os }}
214206
name: CD ${{ matrix.config.name }} ${{ matrix.build_type }}
215207

@@ -220,14 +212,6 @@ jobs:
220212
submodules: true
221213

222214
- name: Set Python version
223-
if: matrix.config.os == 'windows-2022' || matrix.config.os == 'windows-2019' || matrix.config.os == 'ubuntu-22.04'
224-
uses: actions/setup-python@v5
225-
with:
226-
python-version: '3.12'
227-
architecture: 'x64'
228-
229-
- name: Set Python version
230-
if: matrix.config.os == 'macos-14'
231215
uses: actions/setup-python@v5
232216
with:
233217
python-version: '3.12'

0 commit comments

Comments
 (0)