From ce30046ff8f40f854d5b25b6ff581bde69712d5d Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 6 Jan 2025 11:37:14 -0800 Subject: [PATCH] Add some minimal testing with LLVM stable (v19) Fixes: #11362 --- .circleci/config.yml | 84 +++++++++++++++----------------------------- 1 file changed, 28 insertions(+), 56 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 409c07f66f9ce..bcefa1574e8f0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -802,6 +802,32 @@ jobs: core2.test_exceptions_wasm core2.test_pthread_unhandledrejection" - upload-test-results + test-llvm-stable: + executor: focal + environment: + LANG: "C.UTF-8" + EMTEST_SKIP_V8: "1" + steps: + - run: + name: install llvm + command: | + echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-19 main" >> /etc/apt/sources.list + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - + apt-get update + apt-get install -q -y clang-19 + - checkout + - run: + name: submodule update + command: git submodule update --init + - pip-install + - install-emsdk + - install-rust + - run: + name: configure LLVM + command: echo "LLVM_ROOT='/usr/lib/llvm-19/bin' >> ~/emsdk/.emscripten + - run: apt-get install -q -y ninja-build scons ccache + - run-tests: + test_targets: "core0.test_hello_world" test-other: executor: focal environment: @@ -979,59 +1005,5 @@ jobs: workflows: build-test: jobs: - - ruff - - mypy - - eslint - - build-docs - - build-linux - - test-sanity: - requires: - - build-linux - - test-posixtest: - requires: - - build-linux - - test-core0: - requires: - - build-linux - - test-core2: - requires: - - build-linux - - test-core3: - requires: - - build-linux - - test-wasm64: - requires: - - build-linux - - test-wasm64-4gb: - requires: - - build-linux - - test-wasm2js1: - requires: - - build-linux - - test-other: - requires: - - build-linux - - test-browser-chrome: - requires: - - build-linux - - test-browser-chrome-2gb: - requires: - - build-linux - - test-browser-chrome-wasm64: - requires: - - build-linux - - test-browser-chrome-wasm64-4gb: - requires: - - build-linux - - test-browser-firefox: - requires: - - build-linux - - test-browser-firefox-wasm64 - - test-sockets-chrome: - requires: - - build-linux - - test-jsc - - test-spidermonkey - - test-node-compat - - test-windows - - test-mac-arm64 + - test-llvm-stable +