Set workflow os explicitly.

Google policy requires that specific os versions are targeted when using GitHub actions.
This commit is contained in:
Tom Finegan 2021-02-09 11:29:14 -08:00
parent 26ee555fc6
commit 27f77e1b89

View File

@ -5,19 +5,19 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- os: ubuntu-latest - os: ubuntu-20.04
cc: gcc-10 cc: gcc-10
cxx: g++-10 cxx: g++-10
generator: Unix Makefiles generator: Unix Makefiles
- os: ubuntu-latest - os: ubuntu-20.04
cc: clang cc: clang
cxx: clang++ cxx: clang++
generator: Unix Makefiles generator: Unix Makefiles
- os: macos-latest - os: macos-10.15
cc: gcc-10 cc: gcc-10
cxx: g++-10 cxx: g++-10
generator: Unix Makefiles generator: Unix Makefiles
- os: windows-latest - os: windows-2019
cc: x86_64-w64-mingw32-gcc cc: x86_64-w64-mingw32-gcc
cxx: x86_64-w64-mingw32-g++ cxx: x86_64-w64-mingw32-g++
generator: MinGW Makefiles generator: MinGW Makefiles