@@ -46,80 +46,19 @@ jobs:
46
46
cling : On
47
47
cling-version : ' 1.0'
48
48
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
96
50
# - name: win2022-msvc-clang-repl-17-cppyy
97
51
# os: windows-2022
98
52
# compiler: msvc
99
53
# clang-runtime: '17'
100
54
# cling: Off
101
55
# 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
109
56
# - name: win2022-msvc-clang-repl-16-cppyy
110
57
# os: windows-2022
111
58
# compiler: msvc
112
59
# clang-runtime: '16'
113
60
# cling: Off
114
61
# 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
123
62
# - name: win2022-msvc-cling-cppyy
124
63
# os: windows-2022
125
64
# compiler: msvc
@@ -179,13 +118,13 @@ jobs:
179
118
cppyy : On
180
119
181
120
steps :
182
- - uses : actions/checkout@v3
121
+ - uses : actions/checkout@v4
183
122
with :
184
123
fetch-depth : 0
185
124
- name : Set up Python
186
- uses : actions/setup-python@v4
125
+ uses : actions/setup-python@v5
187
126
with :
188
- python-version : ' 3.10 '
127
+ python-version : ' 3.11 '
189
128
190
129
- name : Save PR Info on Unix systems
191
130
if : ${{ runner.os != 'windows' }}
@@ -208,8 +147,6 @@ jobs:
208
147
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
209
148
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
210
149
211
- -
uses :
nelonoel/[email protected]
212
-
213
150
- name : Save PR Info on Windows systems
214
151
if : ${{ runner.os == 'windows' }}
215
152
run : |
@@ -236,8 +173,6 @@ jobs:
236
173
237
174
echo "CLING_HASH=$env:CLING_HASH" >> $GITHUB_ENV
238
175
echo "LLVM_HASH=$env:LLVM_HASH" >> $GITHUB_ENV
239
-
240
- -
uses :
nelonoel/[email protected]
241
176
242
177
- name : Setup default Build Type on *nux
243
178
if : runner.os != 'windows'
@@ -349,6 +284,7 @@ jobs:
349
284
if : runner.os == 'macOS'
350
285
run : |
351
286
brew update
287
+
352
288
# workaround for https://github.com/actions/setup-python/issues/577
353
289
for pkg in $(brew list | grep '^python@'); do
354
290
brew unlink "$pkg"
@@ -358,7 +294,7 @@ jobs:
358
294
pip install distro pytest
359
295
360
296
- name : Restore Cache LLVM/Clang runtime build directory
361
- uses : actions/cache/restore@v3
297
+ uses : actions/cache/restore@v4
362
298
id : cache
363
299
with :
364
300
path : |
@@ -437,7 +373,7 @@ jobs:
437
373
cd ../../
438
374
mkdir ./cppyy-backend/llvm-project/
439
375
#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/
441
377
echo "Copy llvm-project folder to cppyy-backend for caching"
442
378
443
379
- name : Build LLVM/Cling on Windows systems if the cache is invalid
@@ -513,11 +449,11 @@ jobs:
513
449
}
514
450
cd ../../
515
451
mkdir .\cppyy-backend\llvm-project\
516
- cp -r -v .\llvm-project\ .\cppyy-backend\
452
+ cp -r .\llvm-project\ .\cppyy-backend\
517
453
echo "Copy llvm-project folder to cppyy-backend for caching"
518
454
519
455
- name : Save Cache LLVM/Clang runtime build directory
520
- uses : actions/cache/save@v3
456
+ uses : actions/cache/save@v4
521
457
if : ${{ steps.cache.outputs.cache-hit != 'true' }}
522
458
with :
523
459
path : |
0 commit comments