enable gcc build on Linux
parent
d98787f35b
commit
7db73182b0
|
@ -8,13 +8,13 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
job:
|
job:
|
||||||
name: ${{ matrix.os }}-build-and-test
|
name: ${{ matrix.os }}-${{ matrix.cxx }}-build-and-test
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
# For Windows msvc, for Linux and macOS let's use the clang compiler
|
# For Windows msvc, for Linux and macOS let's use the clang compiler, use gcc for Linux.
|
||||||
include:
|
include:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
cxx: cl.exe
|
cxx: cl.exe
|
||||||
|
@ -22,6 +22,9 @@ jobs:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cxx: clang++
|
cxx: clang++
|
||||||
cc: clang
|
cc: clang
|
||||||
|
- os: ubuntu-latest
|
||||||
|
cxx: g++
|
||||||
|
cc: gcc
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
cxx: clang++
|
cxx: clang++
|
||||||
cc: clang
|
cc: clang
|
||||||
|
|
Loading…
Reference in New Issue