Skip to content

Commit

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

0 comments on commit 7bf96a0

Please sign in to comment.