This repository has been archived by the owner on Nov 25, 2020. It is now read-only.
forked from lukka/run-vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
62 lines (59 loc) · 3.5 KB
/
action.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
51
52
53
54
55
56
57
58
59
60
61
62
# Copyright (c) 2019-2020 Luca Cappa
# Released under the term specified in file LICENSE.txt
# SPDX short identifier: MIT
name: 'run-vcpkg'
description: 'Run vcpkg to build C/C++ dependencies and cache them automatically.'
author: 'Luca Cappa https://github.com/lukka'
inputs:
setupOnly:
default: false
required: false
description: "Indicates whether to only setup vcpkg (i.e. installing it and setting the environment variables VCPKG_ROOT, RUNVCPK_VCPKG_ROOT), without installing any port."
appendedCacheKey:
required: false
description: "This value is added to the precomputed key used to restore/save the cached artifacts produced by vcpkg."
vcpkgGitCommitId:
required: false
description: "Specify the Git commit id (not a branch name nor a tag!) that establishes which version of vcpkg needs to be used. When using vcpkg as a Git submodule, this input is not needed as impicitly specified by the submodule. [More information](https://github.com/lukka/CppBuildTasks/blob/master/README.md)"
vcpkgArguments:
default: ""
required: false
descriptions: "Provides the arguments appended to 'vcpkg install'. It is recommended to use a response file to provide either the triplet and the list of packages to be installed. , e.g. `@<github.workspace>/vcpkg_osx.txt`. Note the 'at' character prepended to the path denotes a response file."
vcpkgDirectory:
default: ${{ github.workspace }}/vcpkg
required: false
descriptions: "Specify the vcpkg's root directory. If not specified, it defaults to <github.workspace>/vcpkg. When vcpkg is a Git submodule, specify the full path to it."
vcpkgArtifactIgnoreEntries:
default: "!.git\n**/*\n!installed\n!/vcpkg\n!vcpkg.exe\n!vcpkgArtifactIgnoreEntries\n"
required: false
description: "Specify entries to append to the .artifactignore file. This file specifies which directory to ignore or to include by the Cache task. For more info: https://docs.microsoft.com/en-us/azure/devops/artifacts/reference/artifactignore?view=azure-devops . The file is created if not already existing."
vcpkgGitURL:
default: "https://github.com/microsoft/vcpkg.git"
required: false
description: "Specify the URL Git repository to download vcpkg from. Defaults to https://github.com/microsoft/vcpkg.git"
vcpkgTriplet:
default: ""
required: false
description: "Specify the vcpkg triplet. Common values are x64-windows, x64-linux and x64-osx. It is recommended to specify the triplet in the response file provided in the arguments instead than here."
cleanAfterBuild:
default: true
required: false
description: "Append the argument '--clean-after-build' to vcpkgArgument input, to clean buildtrees, packages and downloads after building each port. Default is true."
doNotUpdateVcpkg:
default: false
required: false
description: "Avoid to update vcpkg (launching git) in the specified 'vcpkgDirectory'. This is useful when vcpkg is being checkout independently of the run-vcpkg action. Default is false."
useShell:
default: true
required: false
description: "Specify which shell to be used when launching commands. 'true' means the default shell is used. 'false' means no shell is used. It also can be an absolute path and arguments of the shell to spawn commands with."
doNotCache:
default: false
required: false
description: "Disable the automatic caching mechanism by setting it to true. Default is false."
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'terminal'
color: 'green'