aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/basic.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-13 19:11:26 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-13 20:32:45 +0300
commitc300d8fcc7cbd386557e9dd2026db5011b52256d (patch)
tree3f633ba53a9be2d8a9a6779accc1ab68ea686631 /.github/workflows/basic.yml
parentproject.ci: use pre-built Boost when available (diff)
downloadcmake-common-c300d8fcc7cbd386557e9dd2026db5011b52256d.tar.gz
cmake-common-c300d8fcc7cbd386557e9dd2026db5011b52256d.zip
workflows: cache Boost downloads
Diffstat (limited to '.github/workflows/basic.yml')
-rw-r--r--.github/workflows/basic.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml
index 6cdf983..2b29792 100644
--- a/.github/workflows/basic.yml
+++ b/.github/workflows/basic.yml
@@ -36,9 +36,15 @@ jobs:
with:
python-version: '3.x'
+ - name: Cache Boost
+ uses: actions/cache@v2
+ with:
+ path: boost_*.tar.gz
+ key: boost-1.72.0
+
- name: Build Boost
run: |
- python -m project.boost.download 1.72.0
+ python -m project.boost.download --cache . 1.72.0
python -m project.boost.build -- boost_1_72_0 --with-filesystem
- name: Build example project