Build Lure #3
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: Build Lure | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: # Allows manual triggering from GitHub UI | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Visual Studio | |
uses: microsoft/setup-msbuild@v1 | |
with: | |
vs-version: 'latest' | |
- name: Install vcpkg | |
run: | | |
git clone https://github.com/microsoft/vcpkg.git | |
.\vcpkg\bootstrap-vcpkg.bat | |
.\vcpkg\vcpkg integrate install | |
- name: Install dependencies | |
run: | | |
.\vcpkg\vcpkg install | |
- name: Build with MSBuild | |
run: | | |
msbuild Lure.sln /p:Configuration=Release /p:Platform="Any CPU" | |
- name: Copy DLL | |
run: | | |
mkdir output | |
copy Lure/Release/Lure.dll output/Lure.dll |