Skip to content

Commit

Permalink
Switched to newer vcpkg version in CI pipeline build script and added…
Browse files Browse the repository at this point in the history
… cleanup of sgl build files to avoid out-of-memory errors.
  • Loading branch information
chrismile committed Jan 21, 2023
1 parent 8baa808 commit 2b0183d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Setup vcpkg
uses: lukka/run-vcpkg@v10
with:
vcpkgGitCommitId: 'e51afe4695ebf5e6c6f523dbd3bb518db1970531'
vcpkgGitCommitId: 'e69dd972ba64840955f46704ecce6241bf607c0f'
#doNotCacheOnWorkflowFailure: true

- name: Create custom vcpkg triplet
Expand Down Expand Up @@ -149,6 +149,14 @@ jobs:
- name: Install (sgl)
run: cmake --build ${{env.sgl_REPO_DIR}}/build --config ${{env.BUILD_TYPE}} --target install

- name: Cleanup sgl build files (Windows only)
if: runner.os == 'Windows'
shell: bash
run: |
# Recently, there were some "There is not enough space on the disk" errors when building the application.
# Remove the sgl build folder after install to make sure enough space is left on the disk for the next steps.
rm -rf "${{env.sgl_REPO_DIR}}/build"
- name: Configure CMake (LineVis)
shell: bash
run: |
Expand Down

0 comments on commit 2b0183d

Please sign in to comment.