forked from pnggroup/libpng
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1 KB
/
verify-windows.yml
File metadata and controls
37 lines (35 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Verifying libpng on Windows
on:
push:
branches:
- libpng16
- libpng18
pull_request:
branches:
- libpng16
- libpng18
jobs:
verify-windows:
runs-on: windows-latest
timeout-minutes: 10
steps:
- name: Set up vcpkg cache
uses: actions/cache@v4
with:
path: C:/vcpkg/installed
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json', '**/vcpkg.json') }}
restore-keys: ${{ runner.os }}-vcpkg-
- name: Install dependencies
run: |
vcpkg install zlib:x64-windows
vcpkg integrate install
- name: Check out the code
uses: actions/checkout@v4
- name: Run the CMake verification script
run: bash ./ci/ci_verify_cmake.sh
env:
CI_CMAKE_GENERATOR: Visual Studio 17 2022
CI_CMAKE_GENERATOR_PLATFORM: x64
CI_CMAKE_TOOLCHAIN_FILE: C:/vcpkg/scripts/buildsystems/vcpkg.cmake
CI_CMAKE_BUILD_FLAGS: -j2
CI_CTEST_FLAGS: -j2