-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:pelicanmapping/rocky into main
- Loading branch information
Showing
1 changed file
with
9 additions
and
16 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: windows-x64-Release-minimal | |
on: [push, pull_request, workflow_dispatch] | ||
|
||
env: | ||
VCPKG_BINARY_SOURCES : 'clear;nuget,GitHub,readwrite' | ||
VCPKG_BINARY_SOURCES : 'clear;x-gha,readwrite' | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
BUILD_TYPE: Release | ||
VCPKG_VERSION: 'master' | ||
|
@@ -26,6 +26,13 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Export GitHub Actions cache environment variables | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | ||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | ||
- name: Install Vulkan SDK | ||
uses: humbletim/[email protected] | ||
|
@@ -45,23 +52,9 @@ jobs: | |
git checkout ${{env.VCPKG_VERSION}} | ||
cd .. | ||
./vcpkg/bootstrap-vcpkg.bat -disableMetrics | ||
echo "set(VCPKG_BUILD_TYPE release)" >> ./vcpkg/triplets/x64-windows.cmake | ||
${{ matrix.VCPKG_WORKSPACE }}/vcpkg/vcpkg version | ||
- name: 'Setup NuGet Credentials' | ||
working-directory: ${{ matrix.VCPKG_WORKSPACE }} | ||
shell: 'bash' | ||
run: | | ||
${{ matrix.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1` \ | ||
sources add \ | ||
-source "https://nuget.pkg.github.com/${{ github.actor }}/index.json" \ | ||
-storepasswordincleartext \ | ||
-name "GitHub" \ | ||
-username "${{ github.actor }}" \ | ||
-password "${{ secrets.GITHUB_TOKEN }}" | ||
${{ matrix.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1` \ | ||
setapikey "${{ secrets.GITHUB_TOKEN }}" \ | ||
-source "https://nuget.pkg.github.com/${{ github.actor }}/index.json" | ||
- name: Create Build Environment | ||
run: | | ||
cmake -E make_directory ${{runner.workspace}}/build | ||
|