-
Notifications
You must be signed in to change notification settings - Fork 24
49 lines (49 loc) · 1.33 KB
/
mingw.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
42
43
44
45
46
47
48
49
name: MINGW
on:
push:
branches: [ master ]
paths-ignore:
- 'Test/**'
- '**/*.md'
- '**/*.txt'
- '**/*.sys'
- '**/*.dll'
- '**/*.exe'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- name: Restore MinGW Build Environment
id: Restore-MinGW-Build-Environment
uses: actions/cache/restore@v3
with:
path: C:\ProgramData\chocolatey\lib\mingw\tools\install
key: ${{ runner.os }}-MinGW
restore-keys: ${{ runner.os }}-MinGW
- name: Setup MinGW Build Environment
if: steps.Restore-MinGW-Build-Environment.outputs.cache-hit != 'true'
uses: egor-tensin/setup-mingw@v2
with:
platform: x64
version: '12.2.0'
- name: Store MinGW Build Environment
if: steps.Restore-MinGW-Build-Environment.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
with:
path: C:\ProgramData\chocolatey\lib\mingw\tools\install
key: ${{ runner.os }}-MinGW
- name: Verify MinGW Build Environment
shell: cmd
run: |
ECHO.
G++ --version
- name: Perform Building
working-directory: ${{env.GITHUB_WORKSPACE}}
shell: cmd
run: |
CD tools
SET VU_CI_BUILD=1
MinGW.Build.Static.Library.CMD