From 8726fceec8ec1abcc0e4f6a7b5912a6f31843229 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Mar 2021 23:07:58 +0300 Subject: project.ci: cache Boost downloads --- .github/workflows/ci_appveyor.yml | 6 ++++++ .github/workflows/ci_github.yml | 6 ++++++ .github/workflows/ci_travis.yml | 6 ++++++ 3 files changed, 18 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/ci_appveyor.yml b/.github/workflows/ci_appveyor.yml index 9d76d1a..a88dc7d 100644 --- a/.github/workflows/ci_appveyor.yml +++ b/.github/workflows/ci_appveyor.yml @@ -45,6 +45,12 @@ jobs: with: python-version: '3.x' + - name: Cache Boost + uses: actions/cache@v2 + with: + path: C:\projects\boost_*.tar.gz + key: '${{ runner.os }}-boost-${{ env.boost_version }}' + - name: Create C:\projects run: mkdir C:\projects diff --git a/.github/workflows/ci_github.yml b/.github/workflows/ci_github.yml index 4d6f58c..54a9a04 100644 --- a/.github/workflows/ci_github.yml +++ b/.github/workflows/ci_github.yml @@ -45,6 +45,12 @@ jobs: with: python-version: '3.x' + - name: Cache Boost + uses: actions/cache@v2 + with: + path: '${{ runner.workspace }}/boost_*.tar.gz' + key: '${{ runner.os }}-boost-${{ env.boost_version }}' + - name: Build Boost run: python -m project.ci.boost -- --with-filesystem diff --git a/.github/workflows/ci_travis.yml b/.github/workflows/ci_travis.yml index bf948a7..c78143a 100644 --- a/.github/workflows/ci_travis.yml +++ b/.github/workflows/ci_travis.yml @@ -42,6 +42,12 @@ jobs: with: python-version: '3.x' + - name: Cache Boost + uses: actions/cache@v2 + with: + path: '${{ env.HOME }}/boost_*.tar.gz' + key: '${{ runner.os }}-boost-${{ env.boost_version }}' + - name: Build Boost run: python -m project.ci.travis.boost -- --with-filesystem -- cgit v1.2.3