Skip to content

Commit d0134e6

Browse files
committed
emscripten
1 parent 227aa50 commit d0134e6

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

.github/workflows/ci.yaml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -174,25 +174,23 @@ jobs:
174174
- name: install emscripten
175175
shell: bash -l {0}
176176
run: |
177-
git clone https://github.com/emscripten-core/emsdk.git
178-
cd emsdk
179-
./emsdk install ${{ matrix.emscripten_version }}
180-
source ./emsdk_env.sh
177+
$MAMBA_EXE create -n emsdk -c conda-forge -c https://repo.prefix.dev/emscripten-forge-dev \
178+
emscripten_emscripten-wasm32
179+
180+
- name: install playwright
181+
shell: bash -l {0}
182+
run: |
183+
playwright install
181184
182-
#- name: install playwright
183-
# shell: bash -l {0}
184-
# run: |
185-
# playwright install
186-
187-
#- name: run emscripten tests
188-
# shell: bash -l {0}
189-
# run: |
190-
# cd emsdk
191-
# ./emsdk activate ${{ matrix.emscripten_version }}
192-
# source ./emsdk_env.sh
193-
# cd ..
194-
# chmod +x ./test/emscripten/test_emscripten.sh
195-
# ./test/emscripten/test_emscripten.sh
185+
- name: run emscripten tests
186+
shell: bash -l {0}
187+
run: |
188+
cd emsdk
189+
./emsdk activate ${{ matrix.emscripten_version }}
190+
source ./emsdk_env.sh
191+
cd ..
192+
chmod +x ./test/emscripten/test_emscripten.sh
193+
./test/emscripten/test_emscripten.sh
196194
197195
docs:
198196
strategy:

environment_emscripten.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ channels:
66
dependencies:
77
- cmake
88
- python
9-
- microsoft::playwright
9+
- microsoft::playwright <= 1.50

0 commit comments

Comments
 (0)