Skip to content

Commit 60733b1

Browse files
committed
Use several pthread tests with Deno
1 parent ef148ce commit 60733b1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,25 @@ jobs:
889889
core2.test_pthread_create
890890
core2.test_pthread_unhandledrejection
891891
"
892+
test-deno:
893+
executor: linux-python
894+
steps:
895+
- checkout
896+
- pip-install
897+
- install-emsdk
898+
- run:
899+
name: install deno
900+
command: |
901+
curl -fsSL https://deno.land/install.sh | sh
902+
echo "DENO_ENGINE = [os.path.expanduser('~/.deno/bin/deno'), 'run', '--allow-read', '--unstable-detect-cjs']" >> ~/emsdk/.emscripten
903+
echo "JS_ENGINES = [DENO_ENGINE]" >> ~/emsdk/.emscripten
904+
- run-tests:
905+
test_targets: "
906+
core0.test_hello_world
907+
core0.test_pthread_join_and_asyncify
908+
core2.test_pthread_create
909+
core2.test_pthread_unhandledrejection
910+
"
892911
test-jsc:
893912
executor: linux-python
894913
steps:
@@ -1382,6 +1401,7 @@ workflows:
13821401
requires:
13831402
- build-linux
13841403
- test-bun
1404+
- test-deno
13851405
- test-jsc
13861406
- test-spidermonkey
13871407
- test-node-compat

0 commit comments

Comments
 (0)