-
Notifications
You must be signed in to change notification settings - Fork 137
50 lines (39 loc) · 1.56 KB
/
workflow-rebuild-all-deps.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
50
name: Reusable - Rebuild All Libs
# This reusable workflow rebuilds all binary dependencies. While you can pass in a build-config, only 'Release' configuration is supported because all libraries are built in release configuration.
# NOTE: we don't replace any header files here... or anything else, ONLY binaries, so if there's a broken build, it could be caused by those things... and that ought to be updated in the source directly
on:
workflow_call:
inputs:
platform-arch:
required: true
type: string
build-config:
required: false
type: string
default: Release
jobs:
build:
# if windows-latest, might not find VS 2019
runs-on: windows-2019
steps:
- name: Checkout code with all Submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup msbuild
# https://github.com/marketplace/actions/setup-msbuild
uses: microsoft/[email protected]
with:
# Fixed on Visual Studio 2019 -- https://docs.microsoft.com/en-us/visualstudio/releases/2019/history
vs-version: '[16.0,17.0)'
msbuild-architecture: ${{ inputs.platform-arch }}
- uses: ./.github/actions/setup-wix
- uses: ./.github/actions/bin-cache
- uses: ./.github/actions/build-solution
with:
platform-arch: ${{ inputs.platform-arch }}
build-config: ${{ inputs.build-config }}
- uses: ./.github/actions/upload-some-artifacts
with:
platform-arch: ${{ inputs.platform-arch }}
build-config: ${{ inputs.build-config }}