Skip to content

Commit d730578

Browse files
committed
Jupyter lite integration
1 parent aa77879 commit d730578

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@ jobs:
218218
pushd build
219219
220220
export EMPACK_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
221-
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host
221+
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host
222+
echo "PREFIX=$PREFIX" >> $GITHUB_ENV
222223
export CMAKE_PREFIX_PATH=$PREFIX
223224
export CMAKE_SYSTEM_PREFIX_PATH=$PREFIX
224225
@@ -229,7 +230,15 @@ jobs:
229230
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
230231
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
231232
..
232-
EMCC_CFLAGS='-sERROR_ON_UNDEFINED_SYMBOLS=0' emmake make -j ${{ env.ncpus }}
233+
EMCC_CFLAGS='-sERROR_ON_UNDEFINED_SYMBOLS=0' emmake make -j ${{ env.ncpus }} install
234+
235+
- name: Jupyter Lite integration
236+
shell: bash -l {0}
237+
run: |
238+
micromamba create -n xeus-lite-host jupyterlite-core
239+
micromamba activate xeus-lite-host
240+
python -m pip install jupyterlite-xeus
241+
jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }}
233242
234243
- name: Setup tmate session
235244
if: ${{ failure() && runner.debug }}

0 commit comments

Comments
 (0)