switch from clang-format-6 to clang-format-9 (#4121)
No changes required, but this unbreaks our CI
Michael Stapelberg authored 3 years ago
GitHub committed 3 years ago
2 | 2 |
set -e
|
3 | 3 |
set -x
|
4 | 4 |
|
5 | |
clang-format-6.0 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
|
|
5 |
clang-format-9 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
|
12 | 12 |
# (3608 kB/s)). Hence, let’s stick with httpredir.debian.org (default) for now.
|
13 | 13 |
|
14 | 14 |
# Install mk-build-deps (for installing the i3 build dependencies),
|
15 | |
# clang and clang-format-6.0 (for checking formatting and building with clang),
|
|
15 |
# clang and clang-format-9 (for checking formatting and building with clang),
|
16 | 16 |
# lintian (for checking spelling errors),
|
17 | 17 |
RUN linux32 apt-get update && \
|
18 | 18 |
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
19 | 19 |
dpkg-dev devscripts git equivs \
|
20 | |
build-essential clang clang-format-6.0 \
|
|
20 |
build-essential clang clang-format-9 \
|
21 | 21 |
lintian && \
|
22 | 22 |
rm -rf /var/lib/apt/lists/*
|
23 | 23 |
|
12 | 12 |
# (3608 kB/s)). Hence, let’s stick with httpredir.debian.org (default) for now.
|
13 | 13 |
|
14 | 14 |
# Install mk-build-deps (for installing the i3 build dependencies),
|
15 | |
# clang and clang-format-6.0 (for checking formatting and building with clang),
|
|
15 |
# clang and clang-format-9 (for checking formatting and building with clang),
|
16 | 16 |
# lintian (for checking spelling errors),
|
17 | 17 |
RUN linux32 apt-get update && \
|
18 | 18 |
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
19 | 19 |
dpkg-dev devscripts git equivs \
|
20 | |
build-essential clang clang-format-6.0 \
|
|
20 |
build-essential clang clang-format-9 \
|
21 | 21 |
lintian && \
|
22 | 22 |
rm -rf /var/lib/apt/lists/*
|
23 | 23 |
|
12 | 12 |
# (3608 kB/s)). Hence, let’s stick with httpredir.debian.org (default) for now.
|
13 | 13 |
|
14 | 14 |
# Install mk-build-deps (for installing the i3 build dependencies),
|
15 | |
# clang and clang-format-6.0 (for checking formatting and building with clang),
|
|
15 |
# clang and clang-format-9 (for checking formatting and building with clang),
|
16 | 16 |
# lintian (for checking spelling errors),
|
17 | 17 |
# test suite dependencies (for running tests)
|
18 | 18 |
RUN apt-get update && \
|
19 | 19 |
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
20 | 20 |
dpkg-dev devscripts git equivs \
|
21 | |
build-essential clang clang-format-6.0 \
|
|
21 |
build-essential clang clang-format-9 \
|
22 | 22 |
lintian && \
|
23 | 23 |
rm -rf /var/lib/apt/lists/*
|
24 | 24 |
|
10 | 10 |
# (3608 kB/s)). Hence, let’s stick with httpredir.debian.org (default) for now.
|
11 | 11 |
|
12 | 12 |
# Install mk-build-deps (for installing the i3 build dependencies),
|
13 | |
# clang and clang-format-6.0 (for checking formatting and building with clang),
|
|
13 |
# clang and clang-format-9 (for checking formatting and building with clang),
|
14 | 14 |
# lintian (for checking spelling errors),
|
15 | 15 |
# test suite dependencies (for running tests)
|
16 | 16 |
RUN apt-get update && \
|
17 | 17 |
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
18 | 18 |
dpkg-dev devscripts git equivs \
|
19 | |
build-essential clang clang-format-6.0 \
|
|
19 |
build-essential clang clang-format-9 \
|
20 | 20 |
lintian \
|
21 | 21 |
libmodule-install-perl libanyevent-perl libextutils-pkgconfig-perl xcb-proto cpanminus xvfb xserver-xephyr xauth libinline-perl libinline-c-perl libxml-simple-perl libmouse-perl libmousex-nativetraits-perl libextutils-depends-perl perl libtest-deep-perl libtest-exception-perl libxml-parser-perl libtest-simple-perl libtest-fatal-perl libdata-dump-perl libtest-differences-perl libxml-tokeparser-perl libipc-run-perl libxcb-xtest0-dev libx11-xcb-perl libjson-xs-perl x11-xserver-utils && \
|
22 | 22 |
rm -rf /var/lib/apt/lists/*
|