File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -238,9 +238,8 @@ jobs:
238
238
shell : bash -l {0}
239
239
run : |
240
240
cd ./xeus-cpp/
241
- micromamba create -n xeus-lite-host jupyterlite-core -c conda-forge
241
+ micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyterlite-xeus jupyter_server jupyterlab notebook python-libarchive-c -c conda-forge
242
242
micromamba activate xeus-lite-host
243
- python -m pip install jupyterlite-xeus jupyterlite-core jupyterlab notebook libarchive-c
244
243
jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav --output-dir dist
245
244
246
245
- name : Upload artifact
Original file line number Diff line number Diff line change @@ -830,3 +830,12 @@ jobs:
830
830
micromamba activate CppInterOp-wasm
831
831
cd ./xeus-cpp/build/test
832
832
node test_xeus_cpp.js
833
+
834
+ - name : Jupyter Lite integration
835
+ if : ${{ runner.os != 'windows' }}
836
+ shell : bash -l {0}
837
+ run : |
838
+ cd ./xeus-cpp/
839
+ micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyterlite-xeus jupyter_server jupyterlab notebook python-libarchive-c -c conda-forge
840
+ micromamba activate xeus-lite-host
841
+ jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav --output-dir dist
Original file line number Diff line number Diff line change @@ -316,9 +316,8 @@ To build Jupyter Lite website with this kernel locally that you can use for test
316
316
317
317
``` bash
318
318
cd ../..
319
- micromamba create -n xeus-lite-host jupyterlite-core -c conda-forge
319
+ micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyterlite-xeus jupyter_server jupyterlab notebook python-libarchive-c -c conda-forge
320
320
micromamba activate xeus-lite-host
321
- python -m pip install jupyterlite-xeus jupyter_server
322
321
jupyter lite build --XeusAddon.prefix=$PREFIX --contents xeus-cpp/notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav
323
322
```
324
323
Original file line number Diff line number Diff line change @@ -341,9 +341,8 @@ for testing execute the following
341
341
.. code :: bash
342
342
343
343
cd ../..
344
- micromamba create -n xeus-lite-host jupyterlite-core -c conda-forge
344
+ micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyterlite-xeus jupyter_server jupyterlab notebook python-libarchive-c -c conda-forge
345
345
micromamba activate xeus-lite-host
346
- python -m pip install jupyterlite-xeus jupyter_server
347
346
jupyter lite build --XeusAddon.prefix=$PREFIX --contents xeus-cpp/notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav
348
347
349
348
Once the Jupyter Lite site has built you can test the website locally by
You can’t perform that action at this time.
0 commit comments