Skip to content

Commit

Permalink
fixup! Ticket #4170: implement CI via GitHub Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <[email protected]>
  • Loading branch information
zyv committed Oct 19, 2024
1 parent 14f2017 commit 885498a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ runs:

steps:
- name: Install dependencies
shell: zsh
run: |
brew install autoconf automake gettext check gnu-indent libtool pkg-config
brew install aspell e2fsprogs glib libssh2 openssl s-lang
# unzip is part of the base system
- name: Bootstrap build system
shell: zsh
run: ./autogen.sh

- name: Build default configuration
shell: zsh
run: |
mkdir build-default && cd $_
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci-ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ runs:

steps:
- name: Install dependencies
shell: bash
run: |
sudo apt-get install -y autoconf autopoint check gettext indent libtool pkg-config
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
- name: Bootstrap build system
shell: bash
run: ./autogen.sh

- name: Build distribution archive
shell: bash
run: |
mkdir -p build-distrib && cd $_
Expand All @@ -21,6 +24,7 @@ runs:
make dist-bzip2
- name: Build full configuration
shell: bash
run: |
tar -xjf $(ls build-distrib/mc-*.tar.bz2) --one-top-level=build-full
cd build-full
Expand All @@ -41,6 +45,7 @@ runs:
make install
- name: Build ncurses & pcre2 configuration
shell: bash
run: |
tar -xjf $(ls build-distrib/mc-*.tar.bz2) --one-top-level=build-ncurses
cd build-ncurses
Expand All @@ -55,6 +60,7 @@ runs:
make check
- name: Build minimal configuration
shell: bash
run: |
tar -xjf $(ls build-distrib/mc-*.tar.bz2) --one-top-level=build-minimal
cd build-minimal
Expand Down

0 comments on commit 885498a

Please sign in to comment.