Commit a22275a 1 parent d1a9fa4 commit a22275a Copy full SHA for a22275a
File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -151,28 +151,31 @@ jobs:
151
151
create-args : libuuid
152
152
153
153
- name : Setup emsdk
154
- run : emsdk install ${{ matrix.emsdk_ver }}
154
+ shell : bash -l {0}
155
+ run : |
156
+ cd $HOME
157
+ git clone https://github.com/emscripten-core/emsdk.git
158
+ cd emsdk
159
+ ./emsdk install ${{ matrix.emsdk_ver }}
155
160
156
161
- name : Build and package xeus
157
162
run : |
158
- emsdk activate ${{ matrix.emsdk_ver }}
159
- source $CONDA_EMSDK_DIR /emsdk_env.sh
163
+ $HOME/ emsdk/emsdk activate ${{matrix.emsdk_ver}}
164
+ source $HOME/emsdk /emsdk_env.sh
160
165
161
166
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32
162
167
163
168
mkdir build
164
169
pushd build
165
170
166
- export EMPACK_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-wasm-build
167
171
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-wasm-host
168
172
export CMAKE_PREFIX_PATH=$PREFIX
169
173
export CMAKE_SYSTEM_PREFIX_PATH=$PREFIX
170
174
171
175
emcmake cmake \
172
176
-DCMAKE_BUILD_TYPE=Release \
173
- -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
177
+ -DCMAKE_FIND_ROOT_PATH=$PREFIX \
174
178
-DXEUS_EMSCRIPTEN_WASM_BUILD=ON \
175
- -Dnlohmann_json_DIR=$MAMBA_ROOT_PREFIX/share/cmake/nlohmann_json \
176
179
..
177
180
178
181
make -j${{ steps.cpu-cores.outputs.count }}
Original file line number Diff line number Diff line change @@ -3,6 +3,4 @@ channels:
3
3
- conda-forge
4
4
dependencies :
5
5
- cmake
6
- - emsdk >=3.1.11
7
- - empack >=2.0.1
8
6
You can’t perform that action at this time.
0 commit comments