Files
rgbds/.github/workflows/testing.yml
2020-02-17 15:04:14 +01:00

27 lines
588 B
YAML

name: "Regression testing"
on: push
jobs:
testing:
strategy:
matrix:
os: [ubuntu-16.04, ubuntu-18.04, macos-10.15]
cc: [gcc, clang]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install deps
shell: bash
run: |
./.github/actions/install_deps.sh ${{ matrix.os }}
- name: Build
run: |
make -j Q= CC=${{ matrix.cc }}
- name: Install
run: |
sudo make install -j Q=
- name: Test
shell: bash
run: |
test/run-tests.sh