-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
239 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Setup Vcpkg | ||
description: Install a full vcpkg environment | ||
inputs: | ||
|
||
vcpkgVersion: | ||
description: Enter vcpkg version tag or stable or latest | ||
required: false | ||
default: latest | ||
type: string | ||
|
||
vcpkgRoot: | ||
description: Enter VCPKGROOT as vcpkg root path | ||
required: false | ||
default: /usr/local/vcpkg | ||
type: string | ||
|
||
vcpkgDownload: | ||
description: Enter VCPKGDOWNLOAD as vcpkg download path | ||
required: false | ||
default: /usr/local/vcpkg-downloads | ||
type: string | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup vcpkg | ||
run: | | ||
git clone --depth 1 https://github.com/msclock/features.git /tmp/vcpkg | ||
sudo USERNAME="$USER" VCPKGVERSION="${{ inputs.vcpkgVersion }}" VCPKGROOT="${{ inputs.vcpkgRoot }}" \ | ||
VCPKGDOWNLOAD="${{ inputs.vcpkgDownload }}" /tmp/vcpkg/src/vcpkg/install.sh | ||
vcpkg --version | ||
shell: bash |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.