aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-06-19 12:22:55 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-06-19 12:22:55 +0300
commit13888629d461c5c2faebd783ca8e847e606450e0 (patch)
tree8e7c32c65ba09acf4380f6396a5a852d94936ae0
parentworkflows/basic: test w/ latest Python (diff)
downloadcmake-common-13888629d461c5c2faebd783ca8e847e606450e0.tar.gz
cmake-common-13888629d461c5c2faebd783ca8e847e606450e0.zip
workflows: use -latest images where appropriate
-rw-r--r--.github/workflows/basic.yml10
-rw-r--r--.github/workflows/boost_clang_windows.yml2
-rw-r--r--.github/workflows/boost_download.yml2
-rw-r--r--.github/workflows/boost_toolsets.yml10
-rw-r--r--.github/workflows/ci_appveyor.yml2
-rw-r--r--.github/workflows/ci_github.yml8
-rw-r--r--.github/workflows/ci_travis.yml2
-rw-r--r--.github/workflows/cygwin_static_libstdc++.yml2
-rw-r--r--.github/workflows/example_toolsets.yml10
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}