@@ -42,23 +42,23 @@ jobs:
42
42
43
43
- name : Install Windows Conda Packages
44
44
if : contains(matrix.os, 'windows')
45
- shell : bash -l {0}
45
+ shell : bash -e - l {0}
46
46
run : conda install m2-bison=3.0.4
47
47
48
48
- name : Install Linux / macOS Conda Packages
49
49
if : contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
50
- shell : bash -l {0}
50
+ shell : bash -e - l {0}
51
51
run : conda install bison=3.4
52
52
53
53
- name : Conda info
54
- shell : bash -l {0}
54
+ shell : bash -e - l {0}
55
55
run : |
56
56
conda info
57
57
conda list
58
58
59
59
- name : Setup Platform (Linux)
60
60
if : contains(matrix.os, 'ubuntu')
61
- shell : bash -l {0}
61
+ shell : bash -e - l {0}
62
62
run : |
63
63
echo "LFORTRAN_CMAKE_GENERATOR=Unix Makefiles" >> $GITHUB_ENV
64
64
echo "WIN=0" >> $GITHUB_ENV
@@ -67,15 +67,15 @@ jobs:
67
67
68
68
- name : Setup Platform (macOS)
69
69
if : contains(matrix.os, 'macos')
70
- shell : bash -l {0}
70
+ shell : bash -e - l {0}
71
71
run : |
72
72
echo "LFORTRAN_CMAKE_GENERATOR=Unix Makefiles" >> $GITHUB_ENV
73
73
echo "WIN=0" >> $GITHUB_ENV
74
74
echo "MACOS=1" >> $GITHUB_ENV
75
75
echo "ENABLE_RUNTIME_STACKTRACE=yes" >> $GITHUB_ENV
76
76
77
77
- name : Build (Linux / macOS)
78
- shell : bash -l {0}
78
+ shell : bash -e - l {0}
79
79
if : contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
80
80
run : |
81
81
xonsh ci/build.xsh
95
95
xonsh ci\build.xsh
96
96
97
97
- name : Test (Linux / macOS)
98
- shell : bash -l {0}
98
+ shell : bash -e - l {0}
99
99
if : contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
100
100
run : |
101
101
xonsh ci/test.xsh
@@ -216,7 +216,7 @@ jobs:
216
216
key : ${{ github.job }}-${{ matrix.os }}
217
217
218
218
- name : Build Linux
219
- shell : bash -l {0}
219
+ shell : bash -e - l {0}
220
220
run : |
221
221
./build0.sh
222
222
cmake . -GNinja \
@@ -233,29 +233,29 @@ jobs:
233
233
cmake --build . -j16 --target install
234
234
235
235
- name : PIP show version
236
- shell : bash -l {0}
236
+ shell : bash -e - l {0}
237
237
run : |
238
238
python -m pip -V
239
239
240
240
- name : PIP install required packages
241
- shell : bash -l {0}
241
+ shell : bash -e - l {0}
242
242
run : |
243
243
# Package lpynn has lpython_emulation as dependency
244
244
# Hence, it should by default install lpython_emulation
245
245
python -m pip install lpython_emulation==0.0.1.9 lpynn==0.0.1.4 numpy==1.24.3
246
246
247
247
- name : PIP show installed packages
248
- shell : bash -l {0}
248
+ shell : bash -e - l {0}
249
249
run : |
250
250
python -m pip list
251
251
252
252
- name : Test PIP Packages with Python
253
- shell : bash -l {0}
253
+ shell : bash -e - l {0}
254
254
run : |
255
255
python integration_tests/test_pip_import_01.py
256
256
257
257
- name : Test PIP Packages with LPython
258
- shell : bash -l {0}
258
+ shell : bash -e - l {0}
259
259
run : |
260
260
pip_pkg_path=$(python -c "import site; print(site.getsitepackages()[0])")
261
261
echo $pip_pkg_path
@@ -282,7 +282,7 @@ jobs:
282
282
key : ${{ github.job }}-${{ matrix.os }}
283
283
284
284
- name : Build Linux
285
- shell : bash -l {0}
285
+ shell : bash -e - l {0}
286
286
run : |
287
287
./build0.sh
288
288
export CXXFLAGS="-Werror"
@@ -300,7 +300,7 @@ jobs:
300
300
cmake --build . -j16 --target install
301
301
302
302
- name : Test Linux
303
- shell : bash -l {0}
303
+ shell : bash -e - l {0}
304
304
run : |
305
305
ctest
306
306
./run_tests.py -s
@@ -329,7 +329,7 @@ jobs:
329
329
key : ${{ github.job }}-${{ matrix.os }}
330
330
331
331
- name : Build Linux
332
- shell : bash -l {0}
332
+ shell : bash -e - l {0}
333
333
run : |
334
334
./build0.sh
335
335
export CXXFLAGS="-Werror"
@@ -347,7 +347,7 @@ jobs:
347
347
cmake --build . -j16 --target install
348
348
349
349
- name : Test Linux
350
- shell : bash -l {0}
350
+ shell : bash -e - l {0}
351
351
run : |
352
352
ctest
353
353
./run_tests.py -s
@@ -376,7 +376,7 @@ jobs:
376
376
key : ${{ github.job }}-${{ matrix.os }}
377
377
378
378
- name : Build Linux
379
- shell : bash -l {0}
379
+ shell : bash -e - l {0}
380
380
run : |
381
381
./build0.sh
382
382
cmake . -GNinja \
@@ -393,7 +393,7 @@ jobs:
393
393
cmake --build . -j16 --target install
394
394
395
395
- name : Test Linux
396
- shell : bash -l {0}
396
+ shell : bash -e - l {0}
397
397
run : |
398
398
cd integration_tests
399
399
./run_tests.py -b cpython c_py
@@ -421,7 +421,7 @@ jobs:
421
421
key : ${{ github.job }}-${{ matrix.os }}
422
422
423
423
- name : Build
424
- shell : bash -l {0}
424
+ shell : bash -e - l {0}
425
425
run : |
426
426
./build0.sh
427
427
cmake . -G"Unix Makefiles" \
@@ -438,7 +438,7 @@ jobs:
438
438
cmake --build . -j16 --target install
439
439
440
440
- name : Test
441
- shell : bash -l {0}
441
+ shell : bash -e - l {0}
442
442
run : |
443
443
cd integration_tests
444
444
./run_tests.py -b c_sym cpython_sym
0 commit comments