aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-13 23:07:58 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-13 23:07:58 +0300
commit8726fceec8ec1abcc0e4f6a7b5912a6f31843229 (patch)
tree1cd9c32ba435e37f343229ff0b38754e2b660d5f /.github
parentworkflows: fix Boost caching (diff)
downloadcmake-common-8726fceec8ec1abcc0e4f6a7b5912a6f31843229.tar.gz
cmake-common-8726fceec8ec1abcc0e4f6a7b5912a6f31843229.zip
project.ci: cache Boost downloads
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci_appveyor.yml6
-rw-r--r--.github/workflows/ci_github.yml6
-rw-r--r--.github/workflows/ci_travis.yml6
3 files changed, 18 insertions, 0 deletions
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