diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-03 09:07:43 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-03 09:28:37 +0300 |
commit | e122bed1d389c0269ab5990016c633891622fdea (patch) | |
tree | e2d1bce3a0e96bc1bfe4225c0324236f56f3f356 /.github/workflows/boost_download.yml | |
parent | v2.1.1 (diff) | |
download | cmake-common-e122bed1d389c0269ab5990016c633891622fdea.tar.gz cmake-common-e122bed1d389c0269ab5990016c633891622fdea.zip |
add GitHub workflow to check Boost CDNs
Diffstat (limited to '.github/workflows/boost_download.yml')
-rw-r--r-- | .github/workflows/boost_download.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/boost_download.yml b/.github/workflows/boost_download.yml new file mode 100644 index 0000000..d5dc717 --- /dev/null +++ b/.github/workflows/boost_download.yml @@ -0,0 +1,40 @@ +name: Boost (download) + +on: + push: + pull_request: + schedule: + # Weekly, at 5:30 AM on Saturday (somewhat randomly chosen). + - cron: '30 5 * * 6' + workflow_dispatch: + +jobs: + build: + strategy: + matrix: + boost-version: [1.58.0, 1.72.0] + + runs-on: ubuntu-20.04 + + name: 'Download / ${{ matrix.boost-version }}' + + defaults: + run: + shell: pwsh + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + - name: Download Boost + uses: ./.github/actions/download-boost + with: + boost-version: '${{ matrix.boost-version }}' + + - name: Check that Boost was downloaded + uses: ./.github/actions/check-boost-download |