-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slim cache size by removing buildtrees/downloads (#12)
- Loading branch information
Showing
1 changed file
with
10 additions
and
5 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 |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
with: | ||
submodules: true | ||
# TODO: figure out how to disable wxGL so we can get rid of freeglut | ||
- run: sudo apt-get install pkg-config libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev freeglut3-dev | ||
- run: sudo apt-get update && sudo apt-get install pkg-config libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev freeglut3-dev | ||
if: ${{ contains(matrix.config.os, 'ubuntu') }} | ||
- run: mkdir ${{ matrix.config.vcpkg-dir }} | ||
# Install latest CMake. | ||
|
@@ -62,14 +62,19 @@ jobs: | |
# This is the name of the CMakePresets.json's configuration to use to generate | ||
# the project files. This configuration leverages the vcpkg.cmake toolchain file to | ||
# run vcpkg and install all dependencies specified in vcpkg.json. | ||
|
||
# TODO: this probably won't work on linux, lol' | ||
|
||
|
||
configurePreset: '${{ matrix.config.preset }}' | ||
|
||
# This is the name of the CMakePresets.json's configuration to build the project. | ||
buildPreset: '${{ matrix.config.preset }}' | ||
- run: ls out/build | ||
- name: Remove buildtrees from cache | ||
uses: JesseTG/[email protected] | ||
with: | ||
path: ${{ matrix.config.vcpkg-dir }}/buildtrees | ||
- name: Remove downloads from cache | ||
uses: JesseTG/[email protected] | ||
with: | ||
path: ${{ matrix.config.vcpkg-dir }}/downloads | ||
- name: Archive build | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
|