Skip to content

chore: Switch to vcpkg for deps #96

chore: Switch to vcpkg for deps

chore: Switch to vcpkg for deps #96

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: vcpkg build
uses: johnwason/vcpkg-action@v6
id: vcpkg
with:
pkgs: pkgconf fmt ztd-text wil tomlplusplus lua rapidjson
triplet: x64-windows-static
token: ${{ github.token }}
github-binarycache: true
- name: Build Solution
run: |
cmake ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} -S . -B build
cmake --build build --config Release
- name: Copy Artifacts
run: |
mkdir artifacts
cp build/Release/DBGHELP.dll artifacts
cp config/LuaBackend.toml artifacts
- name: Upload DBGHELP
uses: actions/upload-artifact@v3
with:
name: DBGHELP
path: artifacts