Skip to content

Commit 62117ff

Browse files
authored
Update ci to remove warnings (#101)
1 parent c485492 commit 62117ff

File tree

1 file changed

+9
-73
lines changed

1 file changed

+9
-73
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -46,80 +46,19 @@ jobs:
4646
cling: On
4747
cling-version: '1.0'
4848
cppyy: On
49-
#Commented out until Ubuntu on arm Github runner becomes
50-
#available os key to be replaced once known
51-
#- name: ubu22-arm-gcc12-clang-repl-17
52-
# os: ubuntu-22.04-arm
53-
# compiler: gcc-12
54-
# clang-runtime: '17'
55-
# cling: Off
56-
# cppyy: Off
57-
#- name: ubu22-arm-gcc12-clang-repl-17-cppyy
58-
# os: ubuntu-22.04-arm
59-
# compiler: gcc-12
60-
# clang-runtime: '17'
61-
# cling: Off
62-
# cppyy: On
63-
#- name: ubu22-arm-gcc9-clang-repl-16
64-
# os: ubuntu-22.04-arm
65-
# compiler: gcc-9
66-
# clang-runtime: '16'
67-
# cling: Off
68-
# cppyy: Off
69-
#- name: ubu22-arm-gcc9-clang-repl-16-cppyy
70-
# os: ubuntu-22.04-arm
71-
# compiler: gcc-9
72-
# clang-runtime: '16'
73-
# cling: Off
74-
# cppyy: On
75-
#- name: ubu22-arm-gcc9-clang13-cling
76-
# os: ubuntu-22.04-arm
77-
# compiler: gcc-9
78-
# clang-runtime: '13'
79-
# cling: On
80-
# cling-version: '1.0'
81-
# cppyy: Off
82-
#- name: ubu22-arm-gcc9-clang13-cling-cppyy
83-
# os: ubuntu-22.04-arm
84-
# compiler: gcc-9
85-
# clang-runtime: '13'
86-
# cling: On
87-
# cling-version: '1.0'
88-
# cppyy: On
89-
# - name: win2022-msvc-clang-repl-17
90-
# os: windows-2022
91-
# compiler: msvc
92-
# clang-runtime: '17'
93-
# cling: Off
94-
# cppyy: Off
95-
#Commented out until rest of ci for Windows tested
49+
#Commented out until CppInterOp passes all tests on Windows
9650
#- name: win2022-msvc-clang-repl-17-cppyy
9751
# os: windows-2022
9852
# compiler: msvc
9953
# clang-runtime: '17'
10054
# cling: Off
10155
# cppyy: On
102-
# - name: win2022-msvc-clang-repl-16
103-
# os: windows-2022
104-
# compiler: msvc
105-
# clang-runtime: '16'
106-
# cling: Off
107-
# cppyy: Off
108-
#Commented out until rest of ci for Windows tested
10956
#- name: win2022-msvc-clang-repl-16-cppyy
11057
# os: windows-2022
11158
# compiler: msvc
11259
# clang-runtime: '16'
11360
# cling: Off
11461
# cppyy: On
115-
# - name: win2022-msvc-cling
116-
# os: windows-2022
117-
# compiler: msvc
118-
# clang-runtime: '13'
119-
# cling: On
120-
# cling-version: '1.0'
121-
# cppyy: Off
122-
#Commented out until rest of ci for Windows tested
12362
#- name: win2022-msvc-cling-cppyy
12463
# os: windows-2022
12564
# compiler: msvc
@@ -179,13 +118,13 @@ jobs:
179118
cppyy: On
180119

181120
steps:
182-
- uses: actions/checkout@v3
121+
- uses: actions/checkout@v4
183122
with:
184123
fetch-depth: 0
185124
- name: Set up Python
186-
uses: actions/setup-python@v4
125+
uses: actions/setup-python@v5
187126
with:
188-
python-version: '3.10'
127+
python-version: '3.11'
189128

190129
- name: Save PR Info on Unix systems
191130
if: ${{ runner.os != 'windows' }}
@@ -208,8 +147,6 @@ jobs:
208147
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
209148
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
210149
211-
- uses: nelonoel/[email protected]
212-
213150
- name: Save PR Info on Windows systems
214151
if: ${{ runner.os == 'windows' }}
215152
run: |
@@ -236,8 +173,6 @@ jobs:
236173
237174
echo "CLING_HASH=$env:CLING_HASH" >> $GITHUB_ENV
238175
echo "LLVM_HASH=$env:LLVM_HASH" >> $GITHUB_ENV
239-
240-
- uses: nelonoel/[email protected]
241176
242177
- name: Setup default Build Type on *nux
243178
if: runner.os != 'windows'
@@ -349,6 +284,7 @@ jobs:
349284
if: runner.os == 'macOS'
350285
run: |
351286
brew update
287+
brew remove [email protected]
352288
# workaround for https://github.com/actions/setup-python/issues/577
353289
for pkg in $(brew list | grep '^python@'); do
354290
brew unlink "$pkg"
@@ -358,7 +294,7 @@ jobs:
358294
pip install distro pytest
359295
360296
- name: Restore Cache LLVM/Clang runtime build directory
361-
uses: actions/cache/restore@v3
297+
uses: actions/cache/restore@v4
362298
id: cache
363299
with:
364300
path: |
@@ -437,7 +373,7 @@ jobs:
437373
cd ../../
438374
mkdir ./cppyy-backend/llvm-project/
439375
#FIXME: Avoid copy command by caching based on absolute path
440-
cp -r -v ./llvm-project/* ./cppyy-backend/llvm-project/
376+
cp -r ./llvm-project/* ./cppyy-backend/llvm-project/
441377
echo "Copy llvm-project folder to cppyy-backend for caching"
442378
443379
- name: Build LLVM/Cling on Windows systems if the cache is invalid
@@ -513,11 +449,11 @@ jobs:
513449
}
514450
cd ../../
515451
mkdir .\cppyy-backend\llvm-project\
516-
cp -r -v .\llvm-project\ .\cppyy-backend\
452+
cp -r .\llvm-project\ .\cppyy-backend\
517453
echo "Copy llvm-project folder to cppyy-backend for caching"
518454
519455
- name: Save Cache LLVM/Clang runtime build directory
520-
uses: actions/cache/save@v3
456+
uses: actions/cache/save@v4
521457
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
522458
with:
523459
path: |

0 commit comments

Comments
 (0)