Repository navigation
51 lines (47 loc) · 1.51 KB
/
Copy pathtool_build.yml
File metadata and controls
51 lines (47 loc) · 1.51 KB
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
51
name: __incl_tool_build
on:
workflow_call:
inputs:
ToolName:
required: true
type: string
RequiredDeps:
required: false
type: string
description: 'multi-line scalar for any required artifacts or empty string for none'
default: ""
NoDebugBuild:
required: false
type: boolean
description: 'Only do release build'
default: false
InstallLatestVSTools:
required: false
type: boolean
description: 'Install the very latest preview of VS Build TOOLS needed for some bug fixes'
default: false
env:
CI_REQ_DOTNET_SDK_VER: 6.0.401
NUKE_TELEMETRY_OPTOUT: 1
MSYS: "winsymlinks:native wincmdln"
MSYS2_ARG_CONV_EXCL: "*"
MSYS2_PATH_TYPE: inherit
WLB_BASE_FOLDER: "d:/WLB"
MSYSTEM: UCRT64
MSYS_PATH: d:/msys64
jobs:
deps:
uses: ./.github/workflows/restore_deps_to_cache.yml
if: ${{ vars.ONLY_BUILD_TOOL == '' || vars.ONLY_BUILD_TOOL == '-' || contains(vars.ONLY_BUILD_TOOL, inputs.ToolName) }}
with:
BuildPkg: ${{ inputs.ToolName }}
RequiredDeps: ${{ inputs.RequiredDeps }}
build:
uses: ./.github/workflows/do_build.yml
needs: deps
if: ${{ vars.ONLY_BUILD_TOOL == '' || vars.ONLY_BUILD_TOOL == '-' || contains(vars.ONLY_BUILD_TOOL, inputs.ToolName) }}
with:
BuildPkg: ${{ inputs.ToolName }}
RequiredDeps: ${{ inputs.RequiredDeps }}
NoDebugBuild: ${{ inputs.NoDebugBuild }}
InstallLatestVSTools: ${{ inputs.InstallLatestVSTools }}