@@ -106,11 +106,22 @@ commands:
106106 echo "if os.path.exists(V8_ENGINE[0]): JS_ENGINES.append(V8_ENGINE)" >> ~/emsdk/.emscripten
107107 cat ~/emsdk/.emscripten
108108 echo "export PATH=\"$HOME/node-v${version}-linux-x64/bin:\$PATH\"" >> $BASH_ENV
109- install-node-latest :
110- description : " install latest version of node"
109+ install-node-oldest :
110+ description : " install node (oldest) "
111111 steps :
112112 - install-node-version :
113- node_version : " 19.0.0"
113+ # Keep this in sync with `OLDEST_SUPPORTED_NODE` in `feature_matrix.py`
114+ node_version : " 12.22.9"
115+ install-node-lts :
116+ description : " install node (current LTS)"
117+ steps :
118+ - install-node-version :
119+ node_version : " 22.21.0"
120+ install-node-newest :
121+ description : " install node (newest)"
122+ steps :
123+ - install-node-version :
124+ node_version : " 24.10.0"
114125 install-node-canary :
115126 description : " install canary version of node"
116127 steps :
@@ -253,9 +264,6 @@ commands:
253264 # Must be absolute path or relative path from working_directory
254265 at : ~/
255266 - checkout
256- - run :
257- name : submodule update
258- command : git submodule update --init
259267 - emsdk-env
260268 - bootstrap
261269 - pip-install
@@ -376,9 +384,6 @@ commands:
376384 at : ~/
377385 - checkout
378386 - remove-linux-binaries
379- - run :
380- name : submodule update
381- command : git submodule update --init
382387 run-tests-firefox :
383388 description : " Runs emscripten tests under firefox"
384389 parameters :
@@ -866,9 +871,6 @@ jobs:
866871 executor : linux-python
867872 steps :
868873 - checkout
869- - run :
870- name : submodule update
871- command : git submodule update --init
872874 - pip-install
873875 - install-emsdk
874876 - run :
@@ -891,9 +893,6 @@ jobs:
891893 executor : linux-python
892894 steps :
893895 - checkout
894- - run :
895- name : submodule update
896- command : git submodule update --init
897896 - pip-install
898897 - install-emsdk
899898 - run :
@@ -921,9 +920,6 @@ jobs:
921920 EMTEST_SKIP_V8 : " 1"
922921 steps :
923922 - checkout
924- - run :
925- name : submodule update
926- command : git submodule update --init
927923 - pip-install
928924 - install-emsdk
929925 # `install-node-version` only changes the NODE_JS_TEST (the version of
@@ -957,9 +953,7 @@ jobs:
957953 "
958954 # Run some basic tests with the minimum version of node that we currently
959955 # support in the generated code.
960- # Keep this in sync with `OLDEST_SUPPORTED_NODE` in `feature_matrix.py`
961- - install-node-version :
962- node_version : " 12.22.9"
956+ - install-node-oldest
963957 - run-tests :
964958 title : " node (oldest / 12.22.9)"
965959 extra-cflags : " -sMIN_NODE_VERSION=122209"
@@ -1023,10 +1017,28 @@ jobs:
10231017 core2.test_unistd_unlink_rawfs
10241018 core2.test_unistd_write_broken_link_rawfs
10251019 "
1020+ # Run a few test with the most recent LTS version of node
1021+ - install-node-lts
1022+ - run-tests :
1023+ # Run tests that on older versions of node would require flags, but
1024+ # those flags should not be injected on newer versions.
1025+ title : " node (lts)"
1026+ test_targets : " -v
1027+ other.test_gen_struct_info
1028+ other.test_native_call_before_init
1029+ other.test_node_unhandled_rejection
1030+ other.test_js_optimizer_verbose
1031+ other.test_min_node_version
1032+ other.test_node_emscripten_num_logical_cores
1033+ core2.test_pthread_create
1034+ core2.test_i64_invoke_bigint
1035+ core2.test_sse2
1036+ core2.test_source_map
1037+ core2.test_exceptions_wasm_legacy
1038+ core2.test_pthread_unhandledrejection
1039+ "
10261040 # Run a few test with the most recent version of node
1027- # In particular we have some tests that require node flags on older
1028- # versions of node but not with the most recent version.
1029- - install-node-latest
1041+ - install-node-newest
10301042 - run-tests :
10311043 # Run tests that on older versions of node would require flags, but
10321044 # those flags should not be injected on newer versions.
@@ -1043,7 +1055,8 @@ jobs:
10431055 core2.test_sse2
10441056 core2.test_source_map
10451057 core2.test_exceptions_wasm_legacy
1046- core2.test_pthread_unhandledrejection"
1058+ core2.test_pthread_unhandledrejection
1059+ "
10471060 - upload-test-results
10481061 test-other :
10491062 executor : focal
@@ -1065,9 +1078,6 @@ jobs:
10651078 EMTEST_LACKS_WEBGPU : " 1"
10661079 steps :
10671080 - checkout
1068- - run :
1069- name : submodule update
1070- command : git submodule update --init
10711081 - pip-install
10721082 - install-emsdk
10731083 - run-tests-chrome :
@@ -1152,9 +1162,6 @@ jobs:
11521162 executor : focal
11531163 steps :
11541164 - checkout
1155- - run :
1156- name : submodule update
1157- command : git submodule update --init
11581165 - pip-install
11591166 - install-emsdk
11601167 - run-tests-firefox :
@@ -1278,9 +1285,9 @@ jobs:
12781285 steps :
12791286 - setup-macos
12801287 - install-emsdk
1288+ - pip-install :
1289+ python : " $EMSDK_PYTHON"
12811290 - freeze-cache
1282- # TODO: We can't currently do pip install here since numpy and other packages
1283- # are currently missing arm64 macos binaries.
12841291 - run-tests :
12851292 title : " crossplatform tests"
12861293 test_targets : " --crossplatform-only"
0 commit comments