diff --git a/.github/workflows/quality-gate.yml b/.github/workflows/quality-gate.yml index eb9d3c5..ee1ff3f 100644 --- a/.github/workflows/quality-gate.yml +++ b/.github/workflows/quality-gate.yml @@ -13,128 +13,128 @@ jobs: fail-fast: false matrix: include: - - os: "linux" - name: "amd64-avx2" - runs-on: "ubuntu-20-04" - 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: true - vulkan: false - sccache: true - sccache-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-avx2" + # runs-on: "ubuntu-20-04" + # 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: true + # vulkan: false + # sccache: true + # sccache-conf-path: "/tmp/sccache.conf" - - os: "linux" - name: "amd64-noavx" - runs-on: "ubuntu-20-04" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX=OFF -DGGML_AVX2=OFF -DGGML_FMA=OFF -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-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-noavx" + # runs-on: "ubuntu-20-04" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX=OFF -DGGML_AVX2=OFF -DGGML_FMA=OFF -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-conf-path: "/tmp/sccache.conf" - - os: "linux" - name: "amd64-avx" - runs-on: "ubuntu-20-04" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX2=OFF -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-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-avx" + # runs-on: "ubuntu-20-04" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX2=OFF -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-conf-path: "/tmp/sccache.conf" - - os: "linux" - name: "amd64-avx512" - runs-on: "ubuntu-20-04" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX512=ON -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-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-avx512" + # runs-on: "ubuntu-20-04" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX512=ON -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-conf-path: "/tmp/sccache.conf" - - os: "linux" - name: "amd64-vulkan" - runs-on: "ubuntu-20-04-cuda-11-7" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_VULKAN=ON -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: true - sccache: true - sccache-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-vulkan" + # runs-on: "ubuntu-20-04-cuda-11-7" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_VULKAN=ON -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: true + # sccache: true + # sccache-conf-path: "/tmp/sccache.conf" - - os: "linux" - name: "amd64-avx2-cuda-11-7" - runs-on: "ubuntu-20-04-cuda-11-7" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-avx2-cuda-11-7" + # runs-on: "ubuntu-20-04-cuda-11-7" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" - - os: "linux" - name: "amd64-avx-cuda-11-7" - runs-on: "ubuntu-20-04-cuda-11-7" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX2=OFF -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-avx-cuda-11-7" + # runs-on: "ubuntu-20-04-cuda-11-7" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX2=OFF -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" - - os: "linux" - name: "amd64-avx512-cuda-11-7" - runs-on: "ubuntu-20-04-cuda-11-7" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX512=ON -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-avx512-cuda-11-7" + # runs-on: "ubuntu-20-04-cuda-11-7" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX512=ON -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" - - os: "linux" - name: "amd64-avx2-cuda-12-0" - runs-on: "ubuntu-20-04-cuda-12-0" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-avx2-cuda-12-0" + # runs-on: "ubuntu-20-04-cuda-12-0" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" - - os: "linux" - name: "amd64-avx-cuda-12-0" - runs-on: "ubuntu-20-04-cuda-12-0" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX2=OFF -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-avx-cuda-12-0" + # runs-on: "ubuntu-20-04-cuda-12-0" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX2=OFF -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" - - os: "linux" - name: "amd64-avx512-cuda-12-0" - runs-on: "ubuntu-20-04-cuda-12-0" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX512=ON -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" + # - os: "linux" + # name: "amd64-avx512-cuda-12-0" + # runs-on: "ubuntu-20-04-cuda-12-0" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX512=ON -DGGML_NATIVE=OFF -DGGML_CUDA=ON -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-conf-path: "/tmp/sccache.conf" - - os: "mac" - name: "amd64" - runs-on: "macos-13" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DBUILD_SHARED_LIBS=OFF -DGGML_METAL=OFF" - run-e2e: true - vulkan: false - sccache: false - sccache-conf-path: "" + # - os: "mac" + # name: "amd64" + # runs-on: "macos-13" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DBUILD_SHARED_LIBS=OFF -DGGML_METAL=OFF" + # run-e2e: true + # vulkan: false + # sccache: false + # sccache-conf-path: "" - - os: "mac" - name: "arm64" - runs-on: "macos-silicon" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DBUILD_SHARED_LIBS=OFF -DGGML_METAL_EMBED_LIBRARY=ON" - run-e2e: true - vulkan: false - sccache: false - sccache-conf-path: "" + # - os: "mac" + # name: "arm64" + # runs-on: "macos-silicon" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DBUILD_SHARED_LIBS=OFF -DGGML_METAL_EMBED_LIBRARY=ON" + # run-e2e: true + # vulkan: false + # sccache: false + # sccache-conf-path: "" - os: "windows" name: "amd64-avx2" runs-on: "windows-2019" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -GNinja" - run-e2e: true + cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DWHISPER_SDL2=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -GNinja" + run-e2e: false vulkan: false sccache: false sccache-conf-path: "" @@ -142,8 +142,8 @@ jobs: - os: "windows" name: "amd64-avx" runs-on: "windows-2019" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_AVX2=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -GNinja" - run-e2e: true + cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_AVX2=OFF -DWHISPER_SDL2=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -GNinja" + run-e2e: false vulkan: false sccache: false sccache-conf-path: "" @@ -151,7 +151,7 @@ jobs: - os: "windows" name: "amd64-avx512" runs-on: "windows-2019" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_AVX512=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -GNinja" + cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_AVX512=ON -DWHISPER_SDL2=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -GNinja" run-e2e: false vulkan: false sccache: false @@ -160,65 +160,65 @@ jobs: - os: "windows" name: "amd64-vulkan" runs-on: "windows-2019" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_VULKAN=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -GNinja" + cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_VULKAN=ON -DWHISPER_SDL2=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -GNinja" run-e2e: false vulkan: true sccache: false sccache-conf-path: "" - - os: "windows" - name: "amd64-avx2-cuda-12-0" - runs-on: "windows-cuda-12-0" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" - run-e2e: false - vulkan: false - sccache: true - sccache-conf-path: 'C:\sccache.conf' + # - os: "windows" + # name: "amd64-avx2-cuda-12-0" + # runs-on: "windows-cuda-12-0" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" + # run-e2e: false + # vulkan: false + # sccache: true + # sccache-conf-path: 'C:\sccache.conf' - - os: "windows" - name: "amd64-avx-cuda-12-0" - runs-on: "windows-cuda-12-0" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX2=OFF -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" - run-e2e: false - vulkan: false - sccache: true - sccache-conf-path: 'C:\sccache.conf' + # - os: "windows" + # name: "amd64-avx-cuda-12-0" + # runs-on: "windows-cuda-12-0" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX2=OFF -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" + # run-e2e: false + # vulkan: false + # sccache: true + # sccache-conf-path: 'C:\sccache.conf' - - os: "windows" - name: "amd64-avx512-cuda-12-0" - runs-on: "windows-cuda-12-0" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX512=ON -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" - run-e2e: false - vulkan: false - sccache: true - sccache-conf-path: 'C:\sccache.conf' + # - os: "windows" + # name: "amd64-avx512-cuda-12-0" + # runs-on: "windows-cuda-12-0" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX512=ON -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" + # run-e2e: false + # vulkan: false + # sccache: true + # sccache-conf-path: 'C:\sccache.conf' - - os: "windows" - name: "amd64-avx2-cuda-11-7" - runs-on: "windows-cuda-11-7" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" - run-e2e: false - vulkan: false - sccache: true - sccache-conf-path: 'C:\sccache.conf' + # - os: "windows" + # name: "amd64-avx2-cuda-11-7" + # runs-on: "windows-cuda-11-7" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" + # run-e2e: false + # vulkan: false + # sccache: true + # sccache-conf-path: 'C:\sccache.conf' - - os: "windows" - name: "amd64-avx-cuda-11-7" - runs-on: "windows-cuda-11-7" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX2=OFF -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" - run-e2e: false - vulkan: false - sccache: true - sccache-conf-path: 'C:\sccache.conf' + # - os: "windows" + # name: "amd64-avx-cuda-11-7" + # runs-on: "windows-cuda-11-7" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX2=OFF -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" + # run-e2e: false + # vulkan: false + # sccache: true + # sccache-conf-path: 'C:\sccache.conf' - - os: "windows" - name: "amd64-avx512-cuda-11-7" - runs-on: "windows-cuda-11-7" - cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX512=ON -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" - run-e2e: false - vulkan: false - sccache: true - sccache-conf-path: 'C:\sccache.conf' + # - os: "windows" + # name: "amd64-avx512-cuda-11-7" + # runs-on: "windows-cuda-11-7" + # cmake-flags: "-DCORTEXAUDIO_VERSION=${{github.event.pull_request.head.sha}} -DGGML_AVX512=ON -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGGML_CUDA=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE='Release' -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CUDA_COMPILER_LAUNCHER=sccache -GNinja" + # run-e2e: false + # vulkan: false + # sccache: true + # sccache-conf-path: 'C:\sccache.conf' steps: - name: Clone @@ -245,6 +245,13 @@ jobs: echo 'use_ssl = false' >> ${{ matrix.sccache-conf-path }} echo 'server_side_encryption = false' >> ${{ matrix.sccache-conf-path }} echo 'no_credentials = false' >> ${{ matrix.sccache-conf-path }} + + - name: Fetch SDL2 and set SDL2_DIR version 2.28.5 + 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 choco on Windows if: runner.os == 'Windows'