diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/basic.yml | 8 | ||||
-rw-r--r-- | .github/workflows/boost_clang_windows.yml | 6 | ||||
-rw-r--r-- | .github/workflows/boost_toolsets.yml | 6 |
3 files changed, 19 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 diff --git a/.github/workflows/boost_clang_windows.yml b/.github/workflows/boost_clang_windows.yml index d988269..dca79aa 100644 --- a/.github/workflows/boost_clang_windows.yml +++ b/.github/workflows/boost_clang_windows.yml @@ -34,6 +34,12 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Cache Boost + uses: actions/cache@v2 + with: + path: '${{ runner.workspace }}/boost/boost_*.tar.gz' + key: boost-${{ matrix.boost-version }} + - name: Clean up PATH uses: egor-tensin/cleanup-path@v1 if: runner.os == 'Windows' diff --git a/.github/workflows/boost_toolsets.yml b/.github/workflows/boost_toolsets.yml index 1319264..165bc47 100644 --- a/.github/workflows/boost_toolsets.yml +++ b/.github/workflows/boost_toolsets.yml @@ -110,6 +110,12 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Cache Boost + uses: actions/cache@v2 + with: + path: '${{ runner.workspace }}/boost/boost_*.tar.gz' + key: 'boost-${{ matrix.boost-version }}' + - name: Clean up PATH uses: egor-tensin/cleanup-path@v1 if: runner.os == 'Windows' |