From ad48c0c4dd91d1f7366a6b8e9f14c77eaeb447c4 Mon Sep 17 00:00:00 2001 From: scawful Date: Tue, 21 Oct 2025 15:11:41 -0400 Subject: [PATCH] chore: update CI workflow for Linux and macOS dependency installation - Modified the CI configuration to enhance the installation of Linux packages by using a more efficient command. - Updated macOS dependency installation to include LLVM version 18 and set the LLVM_PREFIX in the GitHub path for better accessibility. Benefits: - Streamlines the CI process for Linux and macOS, improving build reliability and ensuring necessary tools are available for the build environment. --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2615c6ae..ae645ec3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -267,9 +267,11 @@ jobs: run: | if [[ "${{ runner.os }}" == "Linux" ]]; then sudo apt-get update - xargs -a .github/workflows/scripts/linux-ci-packages.txt sudo apt-get install -y + sudo apt-get install -y $(tr '\n' ' ' < .github/workflows/scripts/linux-ci-packages.txt) ${{ matrix.cc }} ${{ matrix.cxx }} elif [[ "${{ runner.os }}" == "macOS" ]]; then - brew install ninja pkg-config ccache + brew install llvm@18 ninja pkg-config ccache + LLVM_PREFIX=$(brew --prefix llvm@18) + echo "$LLVM_PREFIX/bin" >> $GITHUB_PATH fi - name: Retry Dependencies (Unix)