|
26 | 26 | build_type: [static_build, shared_build] |
27 | 27 |
|
28 | 28 | steps: |
29 | | - - uses: actions/checkout@v4 |
| 29 | + - uses: actions/checkout@v5 |
30 | 30 |
|
31 | 31 | - name: Install micromamba |
32 | 32 | uses: mamba-org/setup-micromamba@v2 |
|
87 | 87 | build_type: [static_build, shared_build] |
88 | 88 |
|
89 | 89 | steps: |
90 | | - - uses: actions/checkout@v4 |
| 90 | + - uses: actions/checkout@v5 |
91 | 91 |
|
92 | 92 | - name: Install micromamba |
93 | 93 | uses: mamba-org/setup-micromamba@v2 |
@@ -144,43 +144,3 @@ jobs: |
144 | 144 | timeout-minutes: 4 |
145 | 145 | working-directory: build\test |
146 | 146 |
|
147 | | - test-wasm: |
148 | | - |
149 | | - runs-on: ubuntu-latest |
150 | | - |
151 | | - strategy: |
152 | | - fail-fast: false |
153 | | - |
154 | | - steps: |
155 | | - - uses: actions/checkout@v4 |
156 | | - |
157 | | - - name: install mamba |
158 | | - uses: mamba-org/setup-micromamba@main |
159 | | - with: |
160 | | - environment-file: environment-wasm-build.yml |
161 | | - init-shell: bash |
162 | | - |
163 | | - - name: Build and pack xeus-python |
164 | | - shell: bash -l {0} |
165 | | - run: | |
166 | | - micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32 |
167 | | -
|
168 | | - mkdir build |
169 | | - pushd build |
170 | | -
|
171 | | - export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-python-wasm-host |
172 | | - export CMAKE_PREFIX_PATH=$PREFIX |
173 | | - export CMAKE_SYSTEM_PREFIX_PATH=$PREFIX |
174 | | -
|
175 | | - # remove all the fake pythons binaries |
176 | | - rm -f $PREFIX/bin/python* |
177 | | -
|
178 | | - emcmake cmake \ |
179 | | - -DCMAKE_PREFIX_PATH=$PREFIX \ |
180 | | - -DCMAKE_INSTALL_PREFIX=$PREFIX \ |
181 | | - -DCMAKE_BUILD_TYPE=Release \ |
182 | | - -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \ |
183 | | - -DXPYT_EMSCRIPTEN_WASM_BUILD=ON \ |
184 | | - .. |
185 | | -
|
186 | | - make -j4 |
0 commit comments