File: ci_formatting.yml

package info (click to toggle)
nwipe 0.39-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,216 kB
  • sloc: ansic: 16,861; makefile: 26; sh: 4
file content (21 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: ci_formatting

on: [push, pull_request]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - 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 libconfig-dev libconfig++-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