name: Linux ${{ matrix.cc }} ${{ matrix.double && 'double' || 'float '}}
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
+ env:
+ CC: ${{ matrix.cc }}
+ USE_DOUBLE: ${{ matrix.double }}
+ USE_DEBUG: 1
strategy:
matrix:
cc: [gcc, clang]
- name: Build
run: make
- env:
- CC: ${{ matrix.cc }}
- USE_DOUBLE: ${{ matrix.double }}
- USE_DEBUG: 1
- name: Test
run: make test
name: MacOS ${{ matrix.cc }} ${{ matrix.double && 'double' || 'float '}}
runs-on: macos-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
+ env:
+ CC: ${{ matrix.cc }}
+ USE_DOUBLE: ${{ matrix.double }}
+ USE_DEBUG: 1
strategy:
matrix:
cc: [gcc, clang]
- name: Build
run: make
- env:
- CC: ${{ matrix.cc }}
- USE_DOUBLE: ${{ matrix.double }}
- USE_DEBUG: 1
- name: Test
run: make test
name: Windows ${{ matrix.double && 'double' || 'float '}}
runs-on: windows-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
+ env:
+ CC: gcc
+ USE_DOUBLE: ${{ matrix.double }}
+ BUILD_ON_WINDOWS: 1
strategy:
matrix:
double: [0, 1]
- name: Build
run: make
- env:
- CC: gcc
- USE_DOUBLE: ${{ matrix.double }}
- BUILD_ON_WINDOWS: 1
- name: Test
run: make test
- env:
- CC: gcc
- BUILD_ON_WINDOWS: 1