From f4ae635ec9c4307b21abae9c45a065138d36b0a2 Mon Sep 17 00:00:00 2001 From: vansangpfiev Date: Tue, 9 Jul 2024 10:48:44 +0700 Subject: [PATCH] fix: b --- .github/workflows/quality-gate.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/quality-gate.yml b/.github/workflows/quality-gate.yml index 3fc344d..302757d 100644 --- a/.github/workflows/quality-gate.yml +++ b/.github/workflows/quality-gate.yml @@ -19,7 +19,7 @@ jobs: cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_BUILD_TYPE='Release' -GNinja" run-e2e: false vulkan: false - sccache: true + sccache: false sccache-conf-path: "/tmp/sccache.conf" # - os: "linux" @@ -246,12 +246,7 @@ jobs: echo 'server_side_encryption = false' >> ${{ matrix.sccache-conf-path }} echo 'no_credentials = false' >> ${{ matrix.sccache-conf-path }} - - name: Fetch SDL2 on Windows - if: runner.os == 'Windows' - run: | - C:/msys64/usr/bin/wget.exe -qO sdl2.zip https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-devel-2.28.5-VC.zip - 7z x sdl2.zip -aoa - echo "SDL2_DIR=$env:GITHUB_WORKSPACE/SDL2-2.28.5/cmake" >> $env:GITHUB_ENV + - name: Install SDL2 on MacOS if: runner.os == 'macOS' @@ -264,6 +259,14 @@ jobs: if: runner.os == 'Windows' run: | choco install make sccache ninja -y + choco install wget -y + + - name: Fetch SDL2 on Windows + if: runner.os == 'Windows' + run: | + wget -qO sdl2.zip https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-devel-2.28.5-VC.zip + 7z x sdl2.zip -aoa + echo "SDL2_DIR=$env:GITHUB_WORKSPACE/SDL2-2.28.5/cmake" >> $env:GITHUB_ENV - name: Install ninja build on Linux if: runner.os == 'Linux'