From 0727802d40db265b0e32c232ef6fa02839c935b1 Mon Sep 17 00:00:00 2001 From: Jhen-Jie Hong Date: Sat, 21 Dec 2024 10:42:56 +0800 Subject: [PATCH] fix: try to fix windows build --- .github/workflows/release-build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index f6e9c78..ad57813 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -34,16 +34,12 @@ jobs: - name: externals cache uses: actions/cache@v4.0.2 if: runner.os != 'Windows' - env: - CMAKE_BUILD_PARALLEL_LEVEL: 4 with: path: externals key: ${{ runner.os }}-externals-${{ hashFiles('scripts/prepare-*.sh') }} - name: externals cache (Windows) uses: actions/cache@v4.0.2 if: runner.os == 'Windows' - env: - CMAKE_BUILD_PARALLEL_LEVEL: 4 with: path: externals key: ${{ runner.os }}-externals-${{ hashFiles('scripts/prepare-*.ps1') }} @@ -53,6 +49,8 @@ jobs: if: runner.os == 'Windows' env: CMAKE_BUILD_PARALLEL_LEVEL: 4 + CMAKE_C_COMPILER: clang + CMAKE_CXX_COMPILER: clang++ run: | powershell ./scripts/prepare-windows.ps1 powershell ./scripts/build-windows.ps1