mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
update libpng, the repo now requires a vcpkg setup for integrating but skipping the install step should allow it to work for windows an linux, mac might need more
38 lines
1 KiB
YAML
38 lines
1 KiB
YAML
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
|