Skip to content

Commit

Permalink
Update build_vcpkg.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joyrider3774 authored Jul 26, 2024
1 parent e9c2f06 commit 312d6f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ jobs:
- name: Dump the content of $RUNNER_TEMP
run: find $RUNNER_TEMP
shell: bash
- name: configure triplet
run: |
cp "${{ runner.workspace }}/vcpkg/triplets/${{ matrix.triplet }}.cmake" "${{ runner.workspace }}/vcpkg/triplets/community/${{ matrix.triplet }}-release-only.cmake"
echo "set(VCPKG_BUILD_TYPE release)" >> "$HOME/vcpkg/triplets/community/${{ matrix.triplet }}-release-only.cmake"
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
id: runvcpkg
Expand All @@ -48,6 +44,10 @@ jobs:
vcpkgGitCommitId: '${{ matrix.vcpkgCommitId}}'
# The vcpkg.json file, which will be part of cache key computation.
vcpkgJsonGlob: '**/vcpkg.json'
- name: configure triplet
run: |
cp "${{ runner.workspace }}/vcpkg/triplets/${{ matrix.triplet }}.cmake" "${{ runner.workspace }}/vcpkg/triplets/community/${{ matrix.triplet }}-release-only.cmake"
echo "set(VCPKG_BUILD_TYPE release)" >> "$HOME/vcpkg/triplets/community/${{ matrix.triplet }}-release-only.cmake"
- name: Prints output of run-vcpkg's action
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}'"
- name: Run CMake with vcpkg.json manifest
Expand Down

0 comments on commit 312d6f0

Please sign in to comment.