Log CC/CXX #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [ push ] | |
jobs: | |
build-linux: | |
timeout-minutes: 10 | |
runs-on: ubuntu-20.04 | |
env: | |
CC: ${{ matrix.compiler.cc }} | |
CXX: ${{ matrix.compiler.cxx }} | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: | |
- cc: gcc-7 | |
cxx: g++-7 | |
- cc: gcc-8 | |
cxx: g++-8 | |
- cc: gcc-9 | |
cxx: g++-9 | |
- cc: gcc-10 | |
cxx: g++-10 | |
- cc: clang-8 | |
cxx: clang++-8 | |
- cc: clang-9 | |
cxx: clang++-9 | |
- cc: clang-10 | |
cxx: clang++-10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install compiler | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y ${{ matrix.compiler.cc }} | |
sudo apt-get install -y ${{ matrix.compiler.cxx }} | |
- name: setup | |
run: | | |
./setup.sh | |
- name: build examples | |
run: | | |
bake examples --strict | |
build-windows: | |
timeout-minutes: 10 | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: install bake | |
run: | | |
./setup.bat | |
- name: build examples | |
run: | | |
./bake examples --strict |