mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Setup code formatting with make.
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -9,13 +9,16 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: update repo
|
||||
- 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
|
||||
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: configure
|
||||
- name: configuring
|
||||
run: ./configure CFLAGS='-O0 -g -Wall -Wextra'
|
||||
- name: make
|
||||
- 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
|
||||
|
||||
11
.github/workflows/ci_ubuntu-16.04.yml
vendored
11
.github/workflows/ci_ubuntu-16.04.yml
vendored
@@ -9,13 +9,16 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: update repo
|
||||
- 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
|
||||
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: configure
|
||||
- name: configuring
|
||||
run: ./configure CFLAGS='-O0 -g -Wall -Wextra'
|
||||
- name: make
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user