From 13888629d461c5c2faebd783ca8e847e606450e0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 19 Jun 2021 12:22:55 +0300 Subject: workflows: use -latest images where appropriate --- .github/workflows/basic.yml | 10 +++++----- .github/workflows/boost_clang_windows.yml | 2 +- .github/workflows/boost_download.yml | 2 +- .github/workflows/boost_toolsets.yml | 10 +++++----- .github/workflows/ci_appveyor.yml | 2 +- .github/workflows/ci_github.yml | 8 ++++---- .github/workflows/ci_travis.yml | 2 +- .github/workflows/cygwin_static_libstdc++.yml | 2 +- .github/workflows/example_toolsets.yml | 10 +++++----- 9 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index a92e708..d1883b6 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -10,18 +10,18 @@ on: jobs: lint: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest name: Linting steps: - name: Checkout uses: actions/checkout@v2 - name: Run clang-format - run: ./tools/project-clang-format.py --clang-format clang-format-10 + run: ./tools/project-clang-format.py os: strategy: matrix: - os: [ubuntu-20.04, windows-2016, windows-2019] + os: [ubuntu-18.04, ubuntu-20.04, windows-2016, windows-2019] include: - boost-version: 1.72.0 runs-on: '${{ matrix.os }}' @@ -55,7 +55,7 @@ jobs: matrix: python-version: [3.6, 3.7, 3.8, 3.9, 3.x] include: - - os: ubuntu-20.04 + - os: ubuntu-latest - boost-version: 1.72.0 runs-on: '${{ matrix.os }}' name: 'Python ${{ matrix.python-version }}' @@ -88,7 +88,7 @@ jobs: publish: # TODO: figure out how to add a dependency on the *toolsets workflows. needs: [lint, os, python-versions] - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest name: Publish steps: - name: Checkout diff --git a/.github/workflows/boost_clang_windows.yml b/.github/workflows/boost_clang_windows.yml index 6c2612d..8d3c1b7 100644 --- a/.github/workflows/boost_clang_windows.yml +++ b/.github/workflows/boost_clang_windows.yml @@ -25,7 +25,7 @@ jobs: - {toolset: clang, b2_toolset: clang} - {toolset: clang-cl, b2_toolset: clang-win} - runs-on: windows-2019 + runs-on: windows-latest name: '${{ matrix.toolset }} / ${{ matrix.boost-version }}' diff --git a/.github/workflows/boost_download.yml b/.github/workflows/boost_download.yml index a9eb826..8b27948 100644 --- a/.github/workflows/boost_download.yml +++ b/.github/workflows/boost_download.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: boost-version: [1.58.0, 1.72.0] - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest name: 'Download: ${{ matrix.boost-version }}' defaults: run: diff --git a/.github/workflows/boost_toolsets.yml b/.github/workflows/boost_toolsets.yml index 9f81156..ba027c6 100644 --- a/.github/workflows/boost_toolsets.yml +++ b/.github/workflows/boost_toolsets.yml @@ -15,13 +15,13 @@ jobs: boost-version: [1.58.0, 1.65.0, 1.72.0] toolset: [auto, clang, clang-cl, gcc, mingw, msvc] cygwin: [0, 1] - os: [ubuntu-18.04, windows-2016, windows-2019] + os: [ubuntu-latest, windows-2016, windows-2019] include: # Prettier run names. - {os: windows-2019, name: Windows 2019} - {os: windows-2016, name: Windows 2016} - - {os: ubuntu-18.04, name: Ubuntu} + - {os: ubuntu-latest, name: Ubuntu} - {cygwin: 1, name: Cygwin} # Target platform. - {boost-version: 1.58.0, platform: x64} @@ -52,9 +52,9 @@ jobs: libraries: filesystem program_options regex system exclude: # Ubuntu: no MSVC/clang-cl/Cygwin. - - {os: ubuntu-18.04, toolset: msvc} - - {os: ubuntu-18.04, toolset: clang-cl} - - {os: ubuntu-18.04, cygwin: 1} + - {os: ubuntu-latest, toolset: msvc} + - {os: ubuntu-latest, toolset: clang-cl} + - {os: ubuntu-latest, cygwin: 1} # Cygwin: no MSVC/clang-cl. - {cygwin: 1, toolset: msvc} - {cygwin: 1, toolset: clang-cl} diff --git a/.github/workflows/ci_appveyor.yml b/.github/workflows/ci_appveyor.yml index fd4494f..069eed5 100644 --- a/.github/workflows/ci_appveyor.yml +++ b/.github/workflows/ci_appveyor.yml @@ -17,7 +17,7 @@ jobs: matrix: platform: [Win32, x64] configuration: [Debug, Release] - runs-on: windows-2019 + runs-on: windows-latest name: '${{ matrix.platform }} / ${{ matrix.configuration }}' defaults: run: diff --git a/.github/workflows/ci_github.yml b/.github/workflows/ci_github.yml index b01d041..ae35e4d 100644 --- a/.github/workflows/ci_github.yml +++ b/.github/workflows/ci_github.yml @@ -12,13 +12,13 @@ jobs: build: strategy: matrix: - os: [ubuntu-20.04, windows-2019] + os: [ubuntu-latest, windows-latest] toolset: [gcc, clang, msvc] configuration: [Debug, Release] exclude: - - {os: ubuntu-20.04, toolset: msvc} - - {os: windows-2019, toolset: gcc} - - {os: windows-2019, toolset: clang} + - {os: ubuntu-latest, toolset: msvc} + - {os: windows-latest, toolset: gcc} + - {os: windows-latest, toolset: clang} runs-on: '${{ matrix.os }}' name: '${{ matrix.os }} / ${{ matrix.toolset }} / ${{ matrix.configuration }}' defaults: diff --git a/.github/workflows/ci_travis.yml b/.github/workflows/ci_travis.yml index b9a31d9..49ae907 100644 --- a/.github/workflows/ci_travis.yml +++ b/.github/workflows/ci_travis.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: configuration: [Debug, Release] - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest name: '${{ matrix.configuration }}' defaults: run: diff --git a/.github/workflows/cygwin_static_libstdc++.yml b/.github/workflows/cygwin_static_libstdc++.yml index 7cf4c0b..31bb414 100644 --- a/.github/workflows/cygwin_static_libstdc++.yml +++ b/.github/workflows/cygwin_static_libstdc++.yml @@ -17,7 +17,7 @@ on: jobs: test: - runs-on: windows-2019 + runs-on: windows-latest name: Test diff --git a/.github/workflows/example_toolsets.yml b/.github/workflows/example_toolsets.yml index 4f0f8de..a55c7b7 100644 --- a/.github/workflows/example_toolsets.yml +++ b/.github/workflows/example_toolsets.yml @@ -15,13 +15,13 @@ jobs: example: [simple, static, dynamic] toolset: [auto, clang, clang-cl, gcc, mingw, msvc] cygwin: [0, 1] - os: [ubuntu-18.04, windows-2016, windows-2019] + os: [ubuntu-latest, windows-2016, windows-2019] include: # Prettier run names. - {os: windows-2019, name: Windows 2019} - {os: windows-2016, name: Windows 2016} - - {os: ubuntu-18.04, name: Ubuntu} + - {os: ubuntu-latest, name: Ubuntu} - {cygwin: 1, name: Cygwin} # Target platform. - {example: simple, platform: x64} @@ -52,9 +52,9 @@ jobs: symbols: [baz] exclude: # Ubuntu: no MSVC/clang-cl/Cygwin. - - {os: ubuntu-18.04, toolset: msvc} - - {os: ubuntu-18.04, toolset: clang-cl} - - {os: ubuntu-18.04, cygwin: 1} + - {os: ubuntu-latest, toolset: msvc} + - {os: ubuntu-latest, toolset: clang-cl} + - {os: ubuntu-latest, cygwin: 1} # Cygwin: no MSVC/clang-cl. - {cygwin: 1, toolset: msvc} - {cygwin: 1, toolset: clang-cl} -- cgit v1.2.3