forked from Markuu-s/scale-codec-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 760 Bytes
/
Copy pathmain.yml
File metadata and controls
34 lines (30 loc) · 760 Bytes
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
name: Build
on:
push:
branches: [ master ]
tags: [ '*' ]
pull_request:
env:
BUILD_DIR: build
CTEST_OUTPUT_ON_FAILURE: 1
GITHUB_HUNTER_USERNAME: ${{ secrets.HUNTER_USERNAME }}
GITHUB_HUNTER_TOKEN: ${{ secrets.HUNTER_TOKEN }}
CACHE_VERSION: v01
CACHE_PATHS: |
~/.ccache
~/.hunter
jobs:
Windows_MSVC:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ${{ env.CACHE_PATHS }}
key: ${{ github.job }}-${{ env.CACHE_VERSION }}
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
with:
vs-version: "16.11"
- name: build msvc 2019 16
run: bash ./scripts/build.sh