|
1 | 1 | name: Build DLL |
2 | | -on: |
3 | | - workflow_dispatch: |
4 | | - |
| 2 | +on: push |
5 | 3 | jobs: |
6 | 4 | build_dll: |
7 | 5 | runs-on: x86-windows |
8 | 6 | steps: |
9 | 7 | - name: run-vcpkg |
10 | 8 | uses: lukka/run-vcpkg@v3.2 |
11 | | - with: |
12 | | - # Indicates whether to only setup vcpkg (i.e. installing it and setting the environment variables VCPKG_ROOT, RUNVCPK_VCPKG_ROOT), without installing any port. |
13 | | - setupOnly: # optional |
14 | | - # This value is added to the precomputed key used to restore/save the cached artifacts produced by vcpkg. |
15 | | - appendedCacheKey: # optional |
16 | | - # 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) |
17 | | - vcpkgGitCommitId: # optional |
18 | | - # |
19 | | - vcpkgArguments: # optional, default is |
20 | | - # |
21 | | - vcpkgDirectory: # optional, default is ${{ github.workspace }}/vcpkg |
22 | | - # 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. |
23 | | - vcpkgArtifactIgnoreEntries: # optional, default is !.git |
24 | | - **/* |
25 | | - !installed |
26 | | - !/vcpkg |
27 | | - !vcpkg.exe |
28 | | - !vcpkgArtifactIgnoreEntries |
29 | | - |
30 | | - # Specify the URL Git repository to download vcpkg from. Defaults to https://github.com/microsoft/vcpkg.git |
31 | | - vcpkgGitURL: # optional, default is https://github.com/microsoft/vcpkg.git |
32 | | - # 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. |
33 | | - vcpkgTriplet: # optional, default is |
34 | | - # Append the argument '--clean-after-build' to vcpkgArgument input, to clean buildtrees, packages and downloads after building each port. Default is true. |
35 | | - cleanAfterBuild: # optional, default is true |
36 | | - # 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. |
37 | | - doNotUpdateVcpkg: # optional |
38 | | - # 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. |
39 | | - useShell: # optional, default is true |
0 commit comments