Skip to content

Commit

Permalink
CI: test Jupyter kernel build
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Aug 22, 2020
1 parent a3cf6dc commit fc91791
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,25 @@ cxx_binary_tests:
- make
- ctest

# Test Jupyter Kernel
jupyter_kernel:
stage: build
image: registry.gitlab.com/lfortran/ci-images:full2-1.7.0
script:
- export CONDA_PREFIX="$HOME/conda_root"
- export PATH="$HOME/conda_root/bin:$PATH"
- conda install -c conda-forge llvmdev=9.0.1 jupyter xeus xtl nlohmann_json cppzmq
- sudo apt-get update
- sudo apt-get install -yq --no-install-recommends libtinfo-dev zlib1g-dev
- tar xzf dist/lfortran-${lfortran_version}.tar.gz
- cd lfortran-${lfortran_version}
- cmake
-DCMAKE_BUILD_TYPE=Debug
-DWITH_LLVM=yes
-DWITH_XEUS=yes
.
- make

# Test LFortran without the LLVM backend
cxx_binary_min:
stage: build
Expand Down

0 comments on commit fc91791

Please sign in to comment.