Skip to content

Commit

Permalink
Win
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma committed Oct 21, 2024
1 parent f7070f4 commit eaca4e5
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
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: Install 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
.\cpdksetup.exe /quiet
- uses: msys2/setup-msys2@v2
with:
update: true
install: >-
autotools
- name: Bootstrap
shell: bash
run: ./bootstrap
- name: Configure
shell: bash
run: ./configure --disable-openssl --disable-readline --disable-zlib

0 comments on commit eaca4e5

Please sign in to comment.