diff --git a/.github/workflows/ci-fedora.yml b/.github/workflows/ci-fedora.yml new file mode 100644 index 0000000000..913bc65fab --- /dev/null +++ b/.github/workflows/ci-fedora.yml @@ -0,0 +1,41 @@ +name: ci-fedora + +on: + workflow_call: + +jobs: + build-fedora: + runs-on: macos-latest + container: + image: fedora:rawhide + timeout-minutes: 10 + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: | + dnf install -y autoconf automake gcc gettext-devel libtool make pkgconfig + 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) + + - name: Bootstrap build system + run: ./autogen.sh + + - name: Build default configuration + run: | + mkdir build-default && cd $_ + + ../configure \ + --prefix="$(pwd)/install" \ + --enable-mclib \ + --enable-aspell + + make -j$(nproc) + make check + make install + + - uses: actions/upload-artifact@v4 + if: failure() + with: + name: test-suite-logs-fedora + path: build-*/**/test-suite.log diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4cc595801d..912a5d2d54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ jobs: if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository uses: ./.github/workflows/ci-ubuntu.yml + call-build-fedora: + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository + uses: ./.github/workflows/ci-fedora.yml + call-build-macos: if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository uses: ./.github/workflows/ci-macos.yml