From 3d9d18ee24eaa76594300583e190d3e7854ba320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 4 Oct 2023 13:20:26 +0300 Subject: [PATCH] github: Set the test parameter large_tests=False for the libcxx tests This skips test that use a lot of memory. In particular, there's one test that would use up to 6.8 GB of memory, while the GitHub Actions runners only have 8 GB of memory available. This parameter was added in 122064a6303eb9c06e0af231f5a4ce145d9a2e67 in the llvm-project main branch, and backported to 17.x in aa03fba83b17bbfcd9ed869efed2818b503875d6. --- .github/workflows/build.yml | 1 + .github/workflows/test-libcxx.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4ccb478..d0849ce3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -419,6 +419,7 @@ jobs: -DLIBUNWIND_USE_COMPILER_RT=YES ` -DLIBCXXABI_USE_LLVM_UNWINDER=YES ` -DLIBCXX_EXTRA_SITE_DEFINES="__USE_MINGW_ANSI_STDIO=1;TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT" ` + -DLIBCXX_TEST_PARAMS="large_tests=False" ` -DLLVM_LIT_ARGS="-v --time-tests" ninja ninja check-cxx check-cxxabi check-unwind diff --git a/.github/workflows/test-libcxx.yml b/.github/workflows/test-libcxx.yml index 17d7b620..04cc17a6 100644 --- a/.github/workflows/test-libcxx.yml +++ b/.github/workflows/test-libcxx.yml @@ -95,6 +95,7 @@ jobs: -DLIBUNWIND_USE_COMPILER_RT=YES ` -DLIBCXXABI_USE_LLVM_UNWINDER=YES ` -DLIBCXX_EXTRA_SITE_DEFINES="__USE_MINGW_ANSI_STDIO=1;TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT" ` + -DLIBCXX_TEST_PARAMS="large_tests=False" ` -DLLVM_LIT_ARGS="-v --time-tests" ninja ninja check-cxx check-cxxabi check-unwind