Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! Ticket #4170: implement CI …
Browse files Browse the repository at this point in the history
…via GitHub Actions

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
  • Loading branch information
zyv committed Jun 3, 2024
1 parent a583cf6 commit 2e7d2b9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- name: Install dependencies
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
sudo apt-get install -y e2fslibs-dev libaspell-dev libglib2.0-dev libpcre2-dev libgpm-dev libncurses5-dev libslang2-dev libssh2-1-dev libx11-dev unzip
- name: Bootstrap build system
run: ./autogen.sh

Expand Down Expand Up @@ -42,18 +42,21 @@ jobs:
make install
make indent
git ls-files --modified | wc -l
exit $(git ls-files --modified | wc -l)
- name: Build ncurses & pcre configuration
- name: Build ncurses & pcre2 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 \
--with-search-engine=pcre2 \
--enable-werror
make
- name: Build minimal configuration
run: |
tar -xjf $(ls build-distrib/mc-*.tar.bz2) --one-top-level=build-minimal
Expand Down Expand Up @@ -82,3 +85,5 @@ jobs:
--without-subshell \
--enable-tests \
--enable-werror
make

0 comments on commit 2e7d2b9

Please sign in to comment.