Skip to content

Commit 06ee1d1

Browse files
committed
Add CI job for MSVC powered by vcpkg
This is an inital draft that rebuilds all dependencies all the time. For use in production caching should be added (either via GitHub Action Cache or via GitHub Packages).
1 parent d84f62d commit 06ee1d1

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: build-test-windows-msvc-on-push
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build-cmake-msvc:
7+
runs-on: windows-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
11+
- name: Restore from cache and setup vcpkg executable and data files.
12+
uses: lukka/run-vcpkg@v11
13+
with:
14+
vcpkgJsonGlob: 'vcpkg.json'
15+
16+
- name: Setup MSVC
17+
uses: ilammy/msvc-dev-cmd@v1
18+
19+
- name: Configure C/C++ with CMake
20+
run: |
21+
cmake --preset vcpkg-ninja
22+
23+
- name: Build with Ninja
24+
run: |
25+
cmake --build build
26+
27+
- name: Install MLT
28+
run: |
29+
cmake --install build

0 commit comments

Comments
 (0)