Skip to content

Commit d03b24f

Browse files
authored
Update main.yml
1 parent 4100e96 commit d03b24f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,13 @@ jobs:
207207
- uses: actions/checkout@v4
208208
with:
209209
fetch-depth: 0
210-
210+
211211
- name: install mamba
212212
uses: mamba-org/setup-micromamba@main
213213
with:
214-
init-shell: >-
215-
${{ matrix.micromamba_shell_init }}
214+
environment-file: environment-wasm-build.yml
215+
init-shell: ${{ matrix.micromamba_shell_init }}
216+
environment-name: xeus-cpp-wasm-build
216217

217218
- name: Setup default Build Type on *nux
218219
if: ${{ runner.os != 'windows' }}
@@ -240,9 +241,10 @@ jobs:
240241
mkdir build
241242
pushd build
242243
244+
export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
243245
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host
244246
echo "PREFIX=$PREFIX" >> $GITHUB_ENV
245-
export SYSROOT_PATH=$HOME/emsdk/upstream/emscripten/cache/sysroot
247+
export SYSROOT_PATH=$BUILD_PREFIX/opt/emsdk/upstream/emscripten/cache/sysroot
246248
247249
emcmake cmake \
248250
-DCMAKE_BUILD_TYPE=Release \

0 commit comments

Comments
 (0)