Skip to content

Commit c1f8ae7

Browse files
committed
Adding workflow trigger
1 parent c28c6ec commit c1f8ae7

1 file changed

Lines changed: 37 additions & 30 deletions

File tree

.github/workflows/main.yml

Lines changed: 37 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
1-
- name: run-vcpkg
2-
uses: lukka/run-vcpkg@v3.2
3-
with:
4-
# Indicates whether to only setup vcpkg (i.e. installing it and setting the environment variables VCPKG_ROOT, RUNVCPK_VCPKG_ROOT), without installing any port.
5-
setupOnly: # optional
6-
# This value is added to the precomputed key used to restore/save the cached artifacts produced by vcpkg.
7-
appendedCacheKey: # optional
8-
# 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)
9-
vcpkgGitCommitId: # optional
10-
#
11-
vcpkgArguments: # optional, default is
12-
#
13-
vcpkgDirectory: # optional, default is ${{ github.workspace }}/vcpkg
14-
# 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.
15-
vcpkgArtifactIgnoreEntries: # optional, default is !.git
16-
**/*
17-
!installed
18-
!/vcpkg
19-
!vcpkg.exe
20-
!vcpkgArtifactIgnoreEntries
1+
on:
2+
workflow_dispatch:
3+
4+
jobs:
5+
build_dll:
6+
runs-on: x86-windows
7+
steps:
8+
- name: run-vcpkg
9+
uses: lukka/run-vcpkg@v3.2
10+
with:
11+
# Indicates whether to only setup vcpkg (i.e. installing it and setting the environment variables VCPKG_ROOT, RUNVCPK_VCPKG_ROOT), without installing any port.
12+
setupOnly: # optional
13+
# This value is added to the precomputed key used to restore/save the cached artifacts produced by vcpkg.
14+
appendedCacheKey: # optional
15+
# 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)
16+
vcpkgGitCommitId: # optional
17+
#
18+
vcpkgArguments: # optional, default is
19+
#
20+
vcpkgDirectory: # optional, default is ${{ github.workspace }}/vcpkg
21+
# 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.
22+
vcpkgArtifactIgnoreEntries: # optional, default is !.git
23+
**/*
24+
!installed
25+
!/vcpkg
26+
!vcpkg.exe
27+
!vcpkgArtifactIgnoreEntries
2128

22-
# Specify the URL Git repository to download vcpkg from. Defaults to https://github.com/microsoft/vcpkg.git
23-
vcpkgGitURL: # optional, default is https://github.com/microsoft/vcpkg.git
24-
# 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.
25-
vcpkgTriplet: # optional, default is
26-
# Append the argument '--clean-after-build' to vcpkgArgument input, to clean buildtrees, packages and downloads after building each port. Default is true.
27-
cleanAfterBuild: # optional, default is true
28-
# Avoid to update vcpkg(launching git) in the specified 'vcpkgDirectory'. This is useful when vcpkg is being checkout indipendently of the run-vcpkg task. Default is false.
29-
doNotUpdateVcpkg: # optional
30-
# 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.
31-
useShell: # optional, default is true
29+
# Specify the URL Git repository to download vcpkg from. Defaults to https://github.com/microsoft/vcpkg.git
30+
vcpkgGitURL: # optional, default is https://github.com/microsoft/vcpkg.git
31+
# 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.
32+
vcpkgTriplet: # optional, default is
33+
# Append the argument '--clean-after-build' to vcpkgArgument input, to clean buildtrees, packages and downloads after building each port. Default is true.
34+
cleanAfterBuild: # optional, default is true
35+
# Avoid to update vcpkg(launching git) in the specified 'vcpkgDirectory'. This is useful when vcpkg is being checkout indipendently of the run-vcpkg task. Default is false.
36+
doNotUpdateVcpkg: # optional
37+
# 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.
38+
useShell: # optional, default is true

0 commit comments

Comments
 (0)