Merge commit '37fa28110479dc9e74f8589cc381bebd9e27d01b' #132
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
name: C/C++ CI | |
on: | |
push: | |
branches: [ master, v2.0 ] | |
pull_request: | |
branches: [ master, v2.0 ] | |
jobs: | |
build: | |
name: ${{ matrix.config.name }} | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { name: "Ubuntu Latest GCC", artifact: "Linux.tar.xz", os: ubuntu-latest, build_type: "Release", cc: "gcc", cxx: "g++" } | |
# - { name: "macOS Latest Clang", artifact: "macOS.tar.xz", os: macos-latest, build_type: "Release", cc: "clang", cxx: "clang++" } | |
- { name: "MacOS Latest Clang", artifact: "MacOS-clang.tar.xz", os: macos-latest, build_type: "Release", cc: "clang", cxx: "clang++" } | |
steps: | |
- uses: actions/checkout@v2 | |
- name: make | |
run: make CC=${{ matrix.config.cxx }} clean | |
- name: make | |
run: make CC=${{ matrix.config.cxx }} | |
- name: make test | |
run: make CC=${{ matrix.config.cxx }} test | |
- name: make runtest | |
run: make runtests |