Skip to content

Commit c28c6ec

Browse files
committed
Adding GitHub workflow to build DLL
1 parent cb6f6d9 commit c28c6ec

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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
21+
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

0 commit comments

Comments
 (0)