Files
nwipe/.github/workflows/ci_formatting.yml
PartialVolume b41a84f5af Update workflow.
clang-format-7 missing from latest ubuntu so
modified to clang-format
2023-02-13 23:00:19 +00:00

22 lines
596 B
YAML

name: ci_formatting
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
- name: creating autoconf files
run: ./autogen.sh
- name: configuring
run: ./configure CFLAGS='-O0 -g -Wall -Wextra'
- name: verifying code style
run: make check-format