From 05022fb31ca22b084fba055ea4f66bade988c24d Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Sun, 2 Feb 2025 12:15:06 +0800 Subject: [PATCH] minor --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c437c821..d57edf54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,9 @@ jobs: export LUISA_CC=gcc-${{ matrix.compiler.version }} export LUISA_CXX=g++-${{ matrix.compiler.version }} export LUISA_FLAGS="" - export CMAKE_BUILD_PARALLEL_LEVEL=1 # to avoid OOM on GitHub Actions + if [ "${{ config }}" = "Debug" ]; then + export CMAKE_BUILD_PARALLEL_LEVEL=1 # to avoid OOM on GitHub Actions + fi else export LUISA_CC=clang-${{ matrix.compiler.version }} export LUISA_CXX=clang++-${{ matrix.compiler.version }}