Skip to content

Update README.md.

Update README.md. #520

Workflow file for this run

name: GitHub Actions
on: [push]
jobs:
build:
runs-on: ${{ matrix.cfg.os }}
strategy:
matrix:
cfg:
# For Ubuntu 20.04, the available compilers are specified according to
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-Readme.md
- { os: ubuntu-20.04, cc: gcc-9, cxx: g++-9 } # 9.4.0
- { os: ubuntu-20.04, cc: gcc-10, cxx: g++-10 } # 10.3.0
- { os: ubuntu-20.04, cc: clang-10, cxx: clang++-10 } # 10.0.0
- { os: ubuntu-20.04, cc: clang-11, cxx: clang++-11 } # 11.0.0
- { os: ubuntu-20.04, cc: clang-12, cxx: clang++-12 } # 12.0.0
# For Ubuntu 22.04, the available compilers are specified according to
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
- { os: ubuntu-22.04, cc: gcc-9, cxx: g++-9 } # 9.5.0
- { os: ubuntu-22.04, cc: gcc-10, cxx: g++-10 } # 10.5.0
- { os: ubuntu-22.04, cc: gcc-11, cxx: g++-11 } # 11.4.0
- { os: ubuntu-22.04, cc: gcc-12, cxx: g++-12 } # 12.3.0
- { os: ubuntu-22.04, cc: gcc-13, cxx: g++-13 } # 13.1.0
- { os: ubuntu-22.04, cc: clang-13, cxx: clang++-13 } # 13.0.1
- { os: ubuntu-22.04, cc: clang-14, cxx: clang++-14 } # 14.0.0
- { os: ubuntu-22.04, cc: clang-15, cxx: clang++-15 } # 15.0.7
# For macOS 11, the available compilers are specified according to
# https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md
- { os: macos-11, cc: gcc-10, cxx: g++-10 } # 10.5.0
- { os: macos-11, cc: gcc-11, cxx: g++-11 } # 11.4.0
- { os: macos-11, cc: gcc-12, cxx: g++-12 } # 12.3.0
# For macOS 12, the available compilers are specified according to
# https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
- { os: macos-12, cc: gcc-11, cxx: g++-11 } # 11.4.0
- { os: macos-12, cc: gcc-12, cxx: g++-12 } # 12.3.0
- { os: macos-12, cc: gcc-13, cxx: g++-13 } # 13.2.0
# For macOS 13, the available compilers are specified according to
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
# - { os: macos-13, cc: gcc-11, cxx: g++-11 } # 11.4.0
# - { os: macos-13, cc: gcc-12, cxx: g++-12 } # 12.3.0
# - { os: macos-13, cc: gcc-13, cxx: g++-13 } # 13.2.0
# # For macOS 13, the available compilers are specified according to
# # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
# - { os: macos-14, cc: gcc-11, cxx: g++-11 } # 11.4.0
# - { os: macos-14, cc: gcc-12, cxx: g++-12 } # 12.3.0
# - { os: macos-14, cc: gcc-13, cxx: g++-13 } # 13.2.0
steps:
- uses: actions/checkout@v2
- name: Install googletest
run: make -f makefile/Makefile.external CC=${{ matrix.cfg.cc }} CXX=${{ matrix.cfg.cxx }}
- name: Run tests.
run: make -f makefile/Makefile.test CC=${{ matrix.cfg.cc }} CXX=${{ matrix.cfg.cxx }}