-
Notifications
You must be signed in to change notification settings - Fork 37
41 lines (33 loc) · 982 Bytes
/
main_ci.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
32
33
34
35
36
37
38
39
40
41
name: Main CI
on:
pull_request:
branches: [main, feature/*]
workflow_dispatch:
env:
VCPKG_COMMIT_ID: 095ee8757ec933b22d445738d2dbb1ce89bb8021
jobs:
build-and-test-vcpkg:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
compiler:
- msvc
- clang-cl
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup MSVC Environment
uses: ilammy/[email protected]
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: "3.26"
- name: Generate
run: cmake -B "${{ github.workspace }}/build" -S "${{ github.workspace }}/CommonLibSF" --preset=build-release-${{ matrix.compiler }}
- name: Build
run: cmake --build "${{ github.workspace }}/build" --config release