ELFIO/.github/workflows/c-cpp.yml

36 lines
654 B
YAML
Raw Normal View History

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