Skip to content

Commit e41a157

Browse files
authored
Reduce warnings and errors ci (#264)
1 parent e092d7c commit e41a157

File tree

1 file changed

+14
-39
lines changed

1 file changed

+14
-39
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ jobs:
5050
cling-version: '1.0'
5151
cppyy: On
5252
coverage: true
53-
#FIXME: Windows CppInterOp tests expected to fail
54-
#until https://github.com/compiler-research/CppInterOp/issues/188 is solved
5553
- name: win2022-msvc-clang-repl-18
5654
os: windows-2022
5755
compiler: msvc
@@ -132,10 +130,11 @@ jobs:
132130
- uses: actions/checkout@v4
133131
with:
134132
fetch-depth: 0
135-
- name: Set up Python
133+
134+
- name: Set up Python
136135
uses: actions/setup-python@v5
137136
with:
138-
python-version: '3.10'
137+
python-version: '3.12'
139138

140139
- name: Save PR Info on Unix systems
141140
if: ${{ runner.os != 'windows' }}
@@ -292,6 +291,7 @@ jobs:
292291
if: runner.os == 'macOS'
293292
run: |
294293
brew update
294+
brew remove [email protected]
295295
# workaround for https://github.com/actions/setup-python/issues/577
296296
for pkg in $(brew list | grep '^python@'); do
297297
brew unlink "$pkg"
@@ -460,7 +460,7 @@ jobs:
460460
${{ matrix.cling=='On' && 'cling' || '' }}
461461
key: ${{ steps.cache.outputs.cache-primary-key }}
462462

463-
cppyy_and_xeus_clang_repl:
463+
cppinterop_and_cppyy_build:
464464
needs: [build_cache]
465465
name: ${{ matrix.name }}
466466
runs-on: ${{ matrix.os }}
@@ -497,34 +497,6 @@ jobs:
497497
cling-version: '1.0'
498498
cppyy: On
499499
coverage: true
500-
#Commented out until Ubuntu on arm Github runner becomes available
501-
#os key to be replaced once known
502-
#- name: ubu22-arm-gcc12-clang-repl-18-cppyy
503-
# os: ubuntu-22.04-arm
504-
# compiler: gcc-12
505-
# clang-runtime: '18'
506-
# cling: Off
507-
# cppyy: On
508-
#- name: ubu22-arm-gcc12-clang-repl-17-cppyy
509-
# os: ubuntu-22.04-arm
510-
# compiler: gcc-12
511-
# clang-runtime: '17'
512-
# cling: Off
513-
# cppyy: On
514-
#- name: ubu22-arm-gcc9-clang-repl-16-cppyy
515-
# os: ubuntu-22.04-arm
516-
# compiler: gcc-9
517-
# clang-runtime: '16'
518-
# cling: Off
519-
# cppyy: On
520-
# coverage: true
521-
#- name: ubu22-arm-gcc9-clang13-cling-cppyy
522-
# os: ubuntu-22.04-arm
523-
# compiler: gcc-9
524-
# clang-runtime: '13'
525-
# cling: On
526-
# cling-version: '1.0'
527-
# cppyy: On
528500
#FIXME: Windows CppInterOp tests expected to fail
529501
#until https://github.com/compiler-research/CppInterOp/issues/188 is solved
530502
- name: win2022-msvc-clang-repl-18
@@ -626,10 +598,11 @@ jobs:
626598
- uses: actions/checkout@v4
627599
with:
628600
fetch-depth: 0
629-
- name: Set up Python
601+
602+
- name: Set up Python
630603
uses: actions/setup-python@v5
631604
with:
632-
python-version: '3.10'
605+
python-version: '3.12'
633606

634607
- name: Save PR Info on Unix systems
635608
if: ${{ runner.os != 'windows' }}
@@ -786,6 +759,7 @@ jobs:
786759
if: runner.os == 'macOS'
787760
run: |
788761
brew update
762+
brew remove [email protected]
789763
# workaround for https://github.com/actions/setup-python/issues/577
790764
for pkg in $(brew list | grep '^python@'); do
791765
brew unlink "$pkg"
@@ -996,7 +970,7 @@ jobs:
996970
# We need PYTHONPATH later
997971
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
998972
- name: Run the tests on Unix Systems
999-
if: ${{ (runner.os != 'windows') && (matrix.cppyy == 'On') && (matrix.xeus-clang-repl != 'On') }}
973+
if: ${{ (runner.os != 'windows') && (matrix.cppyy == 'On') }}
1000974
run: |
1001975
# Run the tests
1002976
source .venv/bin/activate
@@ -1089,7 +1063,7 @@ jobs:
10891063
timeout-minutes: 30
10901064

10911065
emscripten_wasm:
1092-
needs: [cppyy_and_xeus_clang_repl]
1066+
needs: [cppinterop_and_cppyy_build]
10931067
name: ${{ matrix.name }}
10941068
runs-on: ${{ matrix.os }}
10951069
strategy:
@@ -1164,10 +1138,11 @@ jobs:
11641138
- uses: actions/checkout@v4
11651139
with:
11661140
fetch-depth: 0
1167-
- name: Set up Python
1141+
1142+
- name: Set up Python
11681143
uses: actions/setup-python@v5
11691144
with:
1170-
python-version: '3.10'
1145+
python-version: '3.12'
11711146

11721147
- name: Save PR Info on Unix systems
11731148
if: ${{ runner.os != 'windows' }}

0 commit comments

Comments
 (0)