Skip to content

DIST: Remove FindIconv.cmake from EXTRA_DIST #56

DIST: Remove FindIconv.cmake from EXTRA_DIST

DIST: Remove FindIconv.cmake from EXTRA_DIST #56

name: windows cmake msvc
on:
[push, pull_request]
jobs:
build:
runs-on: windows-2022
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/vcpkg/bincache
steps:
- uses: actions/checkout@v4
- uses: lukka/[email protected]
- name: Prepare vcpkg
id: prepare_vcpkg
shell: bash
run: |
mkdir -vp "${VCPKG_DEFAULT_BINARY_CACHE}"
cp -v "${GITHUB_WORKSPACE}"/.github/workflows/vcpkg.json "${GITHUB_WORKSPACE}"/
cp -v "${GITHUB_WORKSPACE}"/.github/workflows/CMakePresets.json "${GITHUB_WORKSPACE}"/
- name: Restore artifacts and set up vcpkg
uses: lukka/run-vcpkg@v11
id: run_vcpkg
with:
vcpkgGitCommitId: accd79817981f1ce00c6a4164aecf2b2ac699823
vcpkgJsonGlob: vcpkg.json
- name: Run CMake, with vcpkg stage, generate, build and test
uses: lukka/run-cmake@v10
id: run_cmake
with:
configurePreset: ninja-multi-vcpkg
buildPreset: ninja-multi-vcpkg-debug
testPreset: ninja-multi-vcpkg-debug