missing env variable? #227
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gMod CI Pipeline | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- dev | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
targetplatform: [x86] | |
runs-on: windows-latest | |
env: | |
Configuration: Release | |
Actions_Allow_Unsecure_Commands: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup MSBuild.exe | |
uses: microsoft/[email protected] | |
- name: Install vcpkg | |
run: | | |
git clone https://github.com/microsoft/vcpkg.git | |
.\vcpkg\bootstrap-vcpkg.bat | |
- name: Set VCPKG_ROOT | |
run: | | |
echo "VCPKG_ROOT=$(pwd)\vcpkg" >> $GITHUB_ENV | |
shell: bash | |
- name: Build CMake Files with vcpkg toolchain | |
run: cmake --preset=vcpkg | |
env: | |
VCPKG_ROOT: ${{ env.VCPKG_ROOT }} | |
- name: Build binaries | |
run: cmake --build build --config Release |