Skip to content

Commit 51c1892

Browse files
authored
Update emscripten.yml
1 parent 1377935 commit 51c1892

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/emscripten.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,9 +978,20 @@ jobs:
978978
$ErrorActionPreference = "Stop"
979979
micromamba activate CppInterOp-wasm
980980
cd .\xeus-cpp\build\test
981-
node test_xeus_cpp.js --report-failures --force-colors --success
981+
node test_xeus_cpp.js
982+
983+
- name: Jupyter Lite integration
984+
if: ${{ runner.os != 'windows' }}
985+
shell: bash -l {0}
986+
run: |
987+
cd ./xeus-cpp/
988+
micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyterlite-xeus jupyter_server jupyterlab notebook python-libarchive-c -c conda-forge
989+
micromamba activate xeus-lite-host
990+
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
982991
983992
- name: Jupyter Lite integration
993+
if: ${{ runner.os == 'windows' }}
994+
shell: powershell
984995
run: |
985996
cd ./xeus-cpp/
986997
micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyterlite-xeus jupyter_server jupyterlab notebook python-libarchive-c -c conda-forge

0 commit comments

Comments
 (0)