forked from lvgl/lv_port_pc_visual_studio
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 819 Bytes
/
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
name: CI
on:
push:
paths-ignore:
- '.github/*'
- '*.md'
pull_request:
paths-ignore:
- '.github/*'
- '*.md'
jobs:
build:
runs-on: windows-latest
env:
POWERSHELL_TELEMETRY_OPTOUT: 1
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- uses: microsoft/setup-msbuild@v1
- name: Clear local NuGet cache (workaround for failed restores on windows-latest)
run: dotnet nuget locals all --clear
- name: Build
run: msbuild /m BuildAllTargets.proj
- name: Prepare artifacts
run: rm Output\* -vb -Recurse -Force -Include *.exp, *.idb, *.ilk, *.iobj, *.ipdb, *.lastbuildstate, *.lib, *.obj, *.res, *.tlog
- uses: actions/upload-artifact@v2
with:
name: LVGL_CI_Build
path: Output