From a583cf6eef5e38fe9ec63802f409578c27cb08ec Mon Sep 17 00:00:00 2001 From: "Yury V. Zaytsev" <yury@shurup.com> Date: Mon, 3 Jun 2024 18:34:34 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! Ticket #4170: implement CI via GitHub Actions Signed-off-by: Yury V. Zaytsev <yury@shurup.com> --- .github/workflows/ci.yml | 41 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e95463c399..65ad47f3d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: run: | sudo apt-get install -y autoconf gettext autopoint libtool check indent sudo apt-get install -y e2fslibs-dev libaspell-dev libglib2.0-dev libgpm-dev libncurses5-dev libslang2-dev libssh2-1-dev libx11-dev unzip - + # TODO: PCRE - name: Bootstrap build system run: ./autogen.sh @@ -43,3 +43,42 @@ jobs: make indent git ls-files --modified | wc -l + + - name: Build ncurses & pcre configuration + run: | + tar -xjf $(ls build-distrib/mc-*.tar.bz2) --one-top-level=build-ncurses + cd build-ncurses + + ../configure \ + --prefix="$(pwd)/install" \ + --with-screen=ncurses \ + --enable-werror + + - name: Build minimal configuration + run: | + tar -xjf $(ls build-distrib/mc-*.tar.bz2) --one-top-level=build-minimal + cd build-minimal + + ../configure \ + --prefix="$(pwd)/install" \ + --disable-shared \ + --disable-static \ + --disable-maintainer-mode \ + --disable-largefile \ + --disable-nls \ + --disable-rpath \ + --disable-charset \ + --disable-mclib \ + --disable-assert \ + --disable-aspell \ + --disable-background \ + --disable-vfs \ + --disable-doxygen-doc \ + --without-x \ + --without-mmap \ + --without-gpm-mouse \ + --without-internal-edit \ + --without-diff-viewer \ + --without-subshell \ + --enable-tests \ + --enable-werror