forked from google/glog
-
Notifications
You must be signed in to change notification settings - Fork 6
50 lines (43 loc) · 1.3 KB
/
build.yaml
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
50
name: Build
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
workflow_dispatch:
env:
PRINCIPIA_HEADERS_GLOG: src
PRINCIPIA_MSVC_GLOG: msvc
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
configuration: [Debug, Release]
steps:
- name: Checkout source files
uses: actions/checkout@v3
- name: Initialize build environment
uses: mockingbirdnest/actions/windows/initialize_build@main
with:
configuration: ${{ matrix.configuration }}
- name: Download chromium artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{ github.token }}
workflow: build.yaml
workflow_conclusion: success
name: chromium
path: ${{ github.workspace }}/../chromium
repo: mockingbirdnest/chromium
- name: Rebuild ${{ matrix.configuration }}
uses: mockingbirdnest/actions/windows/rebuild@main
with:
configuration: ${{ matrix.configuration }}
solution_directory: ${{ env.PRINCIPIA_MSVC_GLOG }}
- name: Upload artifact
uses: mockingbirdnest/actions/windows/upload_artifact@main
with:
name: glog
headers_directory: ${{ env.PRINCIPIA_HEADERS_GLOG }}
solution_directory: ${{ env.PRINCIPIA_MSVC_GLOG }}