From: Daniel Tang Date: Thu, 29 May 2025 11:13:35 +0000 (-0400) Subject: ci : Add Windows (#1249) X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=44ca1653eae526e0c9d00f040e48aaa0c48f8d3b;p=pkg%2Fggml%2Fsources%2Fggml ci : Add Windows (#1249) --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4dcc53b9..b1e80df7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,3 +74,26 @@ jobs: - name: Test working-directory: ./build run: ctest --verbose --timeout 900 + + windows: + if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' || + github.event.inputs.run_type == 'full-ci' }} + runs-on: windows-latest + + steps: + - name: Clone + uses: actions/checkout@v4 + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v2 + + - name: Configure + run: > + cmake -S . -B ./build -A x64 + -DCMAKE_BUILD_TYPE=Release + -DBUILD_SHARED_LIBS=ON + + - name: Build + run: | + cd ./build + msbuild ALL_BUILD.vcxproj -t:build -p:configuration=Release -p:platform=x64