Files
nwipe/.github/workflows/ci.yml
louib af0fdadc88 Creating subdirs for third-party modules.
Since these modules are considered third-party (at
least for now) and we also don't want to apply
formatting to them.

Also removed the `AUTOMAKE_OPTIONS` from `Makefile.am` since
it would appear the `AM_INIT_AUTOMAKE` is actually defining
the automake options.
2020-01-10 18:08:07 -05:00

25 lines
771 B
YAML

name: CI_on_Ubuntu-latest
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: updating available system dependencies
run: sudo apt-get update
- name: installing system dependencies
run: sudo apt-get install -y build-essential pkg-config automake libncurses5-dev autotools-dev libparted-dev dmidecode clang-format-5.0
- name: creating autoconf files
run: ./init.sh
- name: configuring
run: ./configure CFLAGS='-O0 -g -Wall -Wextra'
- name: compiling
run: make
# Changing the path should no longer be necessary when clang-format6 is installed.
- name: verifying code style
run: export PATH=$PATH:/usr/lib/llvm-5.0/bin && make check-format