aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/boost_download.yml
blob: a718f609516d7aefbb5a6dce9e0dbc7fd48195f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 }}'
          no-retry: 1

      - name: Check that Boost was downloaded
        uses: ./.github/actions/check-boost-download