Skip to content

Commit

Permalink
Cache 3rd_party/install
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Apr 1, 2021
1 parent fdc4c17 commit ea1addb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/linux-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ jobs:
USE_CC: ${{ matrix.cc }}
VCPKG_TARGET_TRIPLET: ${{ matrix.triplet }}
run: |
vcpkg install --triplet=$VCPKG_TARGET_TRIPLET openssl ;
vcpkg install --triplet=$VCPKG_TARGET_TRIPLET protobuf ;
vcpkg install --triplet=$VCPKG_TARGET_TRIPLET fmt ;
vcpkg install --triplet=$VCPKG_TARGET_TRIPLET libuv ;
bash cmake_dev.sh -lus -b RelWithDebInfo -r build_jobs_ci -c $USE_CC -- -DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=$VCPKG_TARGET_TRIPLET -DATBUS_MACRO_ABORT_ON_PROTECTED_ERROR=ON -DPROJECT_GIT_CLONE_REMOTE_ORIGIN_DISABLE_SSH=ON ;
cd build_jobs_ci ;
cmake --build . -j ;
Expand All @@ -58,5 +54,5 @@ jobs:
uses: actions/cache@v2
with:
path: |
/usr/local/share/vcpkg/installed
key: ${{ runner.os }}-${{ hashFiles('/usr/local/share/vcpkg/installed/**') }}
3rd_party/install
key: ${{ runner.os }}-${{ hashFiles('3rd_party/install/**') }}

0 comments on commit ea1addb

Please sign in to comment.