ELFIO/.github/workflows/c-cpp.yml
Serge Lamikhov-Center 1a6c8c7d20
Update c-cpp.yml
2020-08-24 22:19:38 +03:00

36 lines
655 B
YAML

name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: autoreconf
run: autoreconf -i -f
- name: configure
run: ./configure
- name: make
run: make
- name: cd tests
run: cd tests
- name: autoreconf tests
run: autoreconf -i -f
- name: configure tests
run: ./configure
- name: make tests
run: make
- name: make check for tests
run: make check
- name: return to root dir
run: cd ..
- name: make distcheck
run: make distcheck