mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 05:32:14 +00:00
Bumping to clang-format-7
This commit is contained in:
5
.github/workflows/ci_formatting.yml
vendored
5
.github/workflows/ci_formatting.yml
vendored
@@ -14,11 +14,10 @@ jobs:
|
|||||||
- name: TODO remove
|
- name: TODO remove
|
||||||
run: apt-cache search clang-format
|
run: apt-cache search clang-format
|
||||||
- name: installing system dependencies
|
- 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
|
run: sudo apt-get install -y build-essential pkg-config automake libncurses5-dev autotools-dev libparted-dev dmidecode clang-format-7
|
||||||
- name: creating autoconf files
|
- name: creating autoconf files
|
||||||
run: ./init.sh
|
run: ./init.sh
|
||||||
- name: configuring
|
- name: configuring
|
||||||
run: ./configure CFLAGS='-O0 -g -Wall -Wextra'
|
run: ./configure CFLAGS='-O0 -g -Wall -Wextra'
|
||||||
# Changing the path should no longer be necessary when clang-format6 is installed.
|
|
||||||
- name: verifying code style
|
- name: verifying code style
|
||||||
run: export PATH=$PATH:/usr/lib/llvm-5.0/bin && make check-format
|
run: make check-format
|
||||||
|
|||||||
Reference in New Issue
Block a user