mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-18 10:28:09 +08:00
ci: add std=20 to some compilers on github actions
This commit is contained in:
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@@ -9,10 +9,13 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
# g++-4.8 and 4.9 are tested on Travis.CI.
|
# g++-4.8 and 4.9 are tested on Travis.CI.
|
||||||
compiler: ['g++-9', 'g++-8', 'g++-7', 'g++-6', 'g++-5']
|
compiler: ['g++-9', 'g++-8', 'g++-7', 'g++-6', 'g++-5']
|
||||||
standard: ['11', '14', '17']
|
standard: ['11', '14', '17', '20']
|
||||||
exclude:
|
exclude:
|
||||||
- {compiler: 'g++-5', standard: '17'}
|
- {compiler: 'g++-5', standard: '17'}
|
||||||
- {compiler: 'g++-6', standard: '17'}
|
- {compiler: 'g++-6', standard: '17'}
|
||||||
|
- {compiler: 'g++-5', standard: '20'}
|
||||||
|
- {compiler: 'g++-6', standard: '20'}
|
||||||
|
- {compiler: 'g++-7', standard: '20'}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -47,11 +50,14 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
compiler: ['10', '9', '8', '7', '6.0', '5.0', '4.0', '3.9']
|
compiler: ['10', '9', '8', '7', '6.0', '5.0', '4.0', '3.9']
|
||||||
standard: ['11', '14', '17']
|
standard: ['11', '14', '17', '20']
|
||||||
exclude:
|
exclude:
|
||||||
- {compiler: '3.9', standard: '17'}
|
- {compiler: '3.9', standard: '17'}
|
||||||
- {compiler: '4.0', standard: '17'}
|
- {compiler: '4.0', standard: '17'}
|
||||||
- {compiler: '5.0', standard: '17'}
|
- {compiler: '5.0', standard: '17'}
|
||||||
|
- {compiler: '3.9', standard: '20'}
|
||||||
|
- {compiler: '4.0', standard: '20'}
|
||||||
|
- {compiler: '5.0', standard: '20'}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -81,7 +87,7 @@ jobs:
|
|||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
standard: ['11', '14', '17']
|
standard: ['11', '14', '17', '20']
|
||||||
config: ['Release', 'Debug']
|
config: ['Release', 'Debug']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
Reference in New Issue
Block a user