File tree 1 file changed +45
-0
lines changed 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -497,6 +497,51 @@ jobs:
497
497
cd integration_tests
498
498
./run_tests.py -b cpython c_py
499
499
500
+ build_jupyter_kernel :
501
+ name : Build Jupyter Kernel
502
+ runs-on : ubuntu-latest
503
+ steps :
504
+ - uses : actions/checkout@v3
505
+ with :
506
+ fetch-depth : 0
507
+
508
+ - uses : mamba-org/setup-micromamba@v1
509
+ with :
510
+ environment-file : ci/environment.yml
511
+ create-args : >-
512
+ jupyter
513
+ nlohmann_json
514
+ python=3.10
515
+ bison=3.4
516
+ xeus=5.1.0
517
+ xeus-zmq=3.0.0
518
+
519
+ - uses : hendrikmuhs/ccache-action@main
520
+ with :
521
+ variant : sccache
522
+ key : ${{ github.job }}-${{ matrix.os }}
523
+
524
+ - name : Build LPython with Kernel
525
+ shell : bash -e -l {0}
526
+ run : |
527
+ ./build0.sh
528
+ export CXXFLAGS="-Werror"
529
+ cmake . -GNinja \
530
+ -DCMAKE_BUILD_TYPE=Debug \
531
+ -DWITH_LLVM=yes \
532
+ -DWITH_XEUS=yes \
533
+ -DCMAKE_PREFIX_PATH="$CONDA_PREFIX" \
534
+ -DCMAKE_INSTALL_PREFIX="$CONDA_PREFIX"
535
+
536
+ ninja install
537
+ ctest --output-on-failure
538
+ jupyter kernelspec list --json
539
+
540
+ - name : Test Kernel
541
+ shell : bash -e -l {0}
542
+ run : |
543
+ ctest --output-on-failure
544
+
500
545
upload_tarball :
501
546
name : Upload Tarball
502
547
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments