Skip to content

Commit

Permalink
Merge branch 'main' of github.com:pelicanmapping/rocky into main
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Oct 22, 2024
2 parents fa5d23c + 2c940ad commit 111c928
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/ci-windows-minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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]
Expand All @@ -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
Expand Down

0 comments on commit 111c928

Please sign in to comment.