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