Skip to content

Commit 26e9118

Browse files
committed
Jupyter lite integration
1 parent aa77879 commit 26e9118

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 1 deletion
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
@@ -231,6 +232,14 @@ jobs:
231232
..
232233
EMCC_CFLAGS='-sERROR_ON_UNDEFINED_SYMBOLS=0' emmake make -j ${{ env.ncpus }}
233234
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 }}
242+
234243
- name: Setup tmate session
235244
if: ${{ failure() && runner.debug }}
236245
uses: mxschmitt/action-tmate@v3

0 commit comments

Comments
 (0)