(file_progress_show_total): use 'copied_bytes' to show numeric value.
[midnight-commander.git] / .github / workflows / ci-fedora.yml
blob142375179a48ff5598626c6004e47b827d99b5e7
1 name: ci-fedora
3 on:
4   workflow_call:
6 jobs:
7   build-fedora:
8     runs-on: ubuntu-latest
9     container:
10       image: fedora:latest
11     timeout-minutes: 5
13     steps:
14       - uses: actions/checkout@v4
16       - name: Install dependencies
17         run: |
18           dnf install -y autoconf automake gcc gettext-devel groff libtool make pkgconfig
19           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)"
21           # For tests
22           dnf install -y glibc-gconv-extra util-linux
24       - name: Lint documentation
25         working-directory: maint
26         run: ./doctest
28       - name: Bootstrap build system
29         run: ./autogen.sh
31       - name: Build default configuration
32         run: |
33           useradd --home "$(pwd)" test
34           chown -R test "$(pwd)"
36           su - test -c ' \
37             ./configure \
38               --prefix="$(pwd)/install-prefix" \
39               --enable-mclib \
40               --enable-aspell \
41               --enable-werror \
42               && \
43             \
44             make -j$(nproc) && \
45             make check && \
46             make install \
47           '
49       - uses: actions/upload-artifact@v4
50         if: failure()
51         with:
52           name: test-suite-logs-fedora
53           path: ./**/test-suite.log