From 9adbf76cf40dee3132eb687b38dd73f5b90feb5b Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Sun, 20 Oct 2024 22:18:28 +0300 Subject: [PATCH] Win Signed-off-by: Raul Metsma --- .github/workflows/windows.yml | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000000..2b04045cec --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,40 @@ +name: Windows + +on: + pull_request: + paths: + - '**.c' + - '**.h' + - '**.sh' + - .github/workflows/linux.yml + - '**.am' + - doc/** + - configure.ac + push: + +permissions: + contents: read # to fetch code (actions/checkout) + +jobs: + build: + runs-on: ${{ matrix.image }} + strategy: + matrix: + platform: [x86, x64] + configuration: [Light, Release] + image: [windows-2019, windows-2022] + env: + OPENPACE_VER: 1.1.3 + steps: + - uses: actions/checkout@v4 + - name: Prepare vcpkg + uses: lukka/run-vcpkg@v7 + with: + vcpkgArguments: zlib + vcpkgGitCommitId: 18b028fe785e707265fa0e35590b7537ae1d12ea + vcpkgTriplet: ${{ matrix.platform }}-windows-static + - name: Download CPDK + run: Invoke-WebRequest https://download.microsoft.com/download/1/7/6/176909B0-50F2-4DF3-B29B-830A17EA7E38/CPDK_RELEASE_UPDATE/cpdksetup.exe -OutFile cpdksetup.exe + - name: Install CPDK + run: cpdksetup.exe /quiet + \ No newline at end of file