-
Notifications
You must be signed in to change notification settings - Fork 40
31 lines (31 loc) · 1.11 KB
/
continuous-integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
configuration: [Release, Debug]
steps:
- uses: actions/checkout@v3
- uses: microsoft/[email protected]
- name: vcpkg build
id: vcpkg
uses: johnwason/vcpkg-action@v4
with:
manifest-dir: ${{ github.workspace }} # Set to directory containing vcpkg.json
# pkgs: nlohmann-json boost-asio boost-optional boost-utility boost-date-time boost-beast wintoast openssl
triplet: x64-windows-static
token: ${{ github.token }}
- run: vcpkg integrate install
- run: msbuild LGTVCompanion.sln /p:VcpkgEnableManifest=true
env:
Configuration: ${{ matrix.configuration }}
- uses: actions/upload-artifact@v3
with:
name: LGTVCompanion-${{ matrix.configuration }}
path: x64/${{ matrix.configuration }}/
- uses: actions/upload-artifact@v3
with:
name: LGTVCompanion-Setup-${{ matrix.configuration }}
path: LGTV Companion Setup/bin/${{ matrix.configuration }}/