Skip to content

Update gradle/gradle-build-action action to v3 #136

Update gradle/gradle-build-action action to v3

Update gradle/gradle-build-action action to v3 #136

Workflow file for this run

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