workflows/test: use *-latest images

This commit is contained in:
Egor Tensin 2021-06-15 21:07:59 +03:00
parent 72562df317
commit 8fbd928fff

View file

@ -16,19 +16,25 @@ jobs:
platform: [x86, x64]
cygwin: [0, 1]
hardlinks: [0, 1]
os: [ubuntu-18.04, windows-2019, windows-2016]
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-latest, windows-2016, windows-2019, windows-latest]
include:
# Prettier run names.
- {os: ubuntu-18.04, name: Ubuntu}
- {os: windows-2019, name: Windows Server 2019}
- {os: ubuntu-18.04, name: Ubuntu 18.04}
- {os: ubuntu-20.04, name: Ubuntu 20.04}
- {os: ubuntu-latest, name: Ubuntu (latest)}
- {os: windows-2016, name: Windows Server 2016}
- {os: windows-2019, name: Windows Server 2019}
- {os: windows-latest, name: Windows Server (latest)}
- {cygwin: 1, name: Cygwin}
exclude:
# No Cygwin on Ubuntu.
- {os: ubuntu-18.04, cygwin: 1}
# Cygwin is the same on Windows Server 2016 & 2019.
- {os: ubuntu-20.04, cygwin: 1}
- {os: ubuntu-latest, cygwin: 1}
# Cygwin is the same on all Windows Server versions.
- {os: windows-2016, cygwin: 1}
- {os: windows-2019, cygwin: 1}
# Only test hardlinks on Cygwin.
- {cygwin: 0, hardlinks: 1}