File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,14 @@ jobs:
11
11
timeout-minutes : 5
12
12
13
13
steps :
14
+ - name : Install git inside container
15
+ run : dnf install -y git
16
+
14
17
- uses : actions/checkout@v4
15
18
16
19
- name : Install dependencies
17
20
run : |
18
- dnf install -y autoconf automake gcc gettext-devel groff libtool make pkgconfig
21
+ dnf install -y autoconf automake clang-tools-extra gcc gettext-devel groff libtool make pkgconfig
19
22
dnf install -y aspell-devel check-devel gpm-devel libX11-devel "pkgconfig(ext2fs)" "pkgconfig(glib-2.0)" "pkgconfig(gmodule-2.0)" "pkgconfig(libssh2)" "pkgconfig(slang)"
20
23
21
24
# For tests
41
44
--enable-werror \
42
45
&& \
43
46
\
47
+ echo "Checking formatting..." && \
48
+ clang-format --version && \
49
+ make indent && \
50
+ git diff --exit-code && \
51
+ \
44
52
make -j$(nproc) && \
45
53
make check && \
46
54
make install \
Original file line number Diff line number Diff line change 19
19
20
20
- name : Install dependencies
21
21
run : |
22
- brew install autoconf automake gettext check gnu-indent libtool pkg-config
22
+ brew install autoconf automake gettext check libtool pkg-config
23
23
brew install aspell e2fsprogs glib libssh2 openssl s-lang
24
24
25
25
# unzip is part of the base system
Original file line number Diff line number Diff line change 13
13
14
14
- name : Install dependencies
15
15
run : |
16
- sudo apt-get install -y autoconf autopoint check gettext indent libtool pkg-config
16
+ sudo apt-get install -y autoconf autopoint check gettext libtool pkg-config
17
17
sudo apt-get install -y e2fslibs-dev libaspell-dev libglib2.0-dev libgpm-dev libncurses5-dev libpcre2-dev libslang2-dev libssh2-1-dev libx11-dev unzip
18
18
19
19
- name : Bootstrap build system
39
39
--enable-vfs-undelfs \
40
40
--enable-werror
41
41
42
- make indent
43
- # TODO: exit 1
44
- git ls-files --modified
45
-
46
42
make -j$(nproc)
47
43
make check
48
44
make install
You can’t perform that action at this time.
0 commit comments