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 <yury@shurup.com>
  • Loading branch information
zyv committed Jun 4, 2024
1 parent 887e2c2 commit dc3c9a4
Showing 1 changed file with 37 additions and 4 deletions.
41 changes: 37 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
--enable-vfs-undelfs \
--enable-werror
make
make -k check
make -j$(nproc)
make check
make install
# make indent
Expand All @@ -55,7 +55,8 @@ jobs:
--with-search-engine=pcre2 \
--enable-werror
make
make -j$(nproc)
make check
- name: Build minimal configuration
run: |
Expand Down Expand Up @@ -86,4 +87,36 @@ jobs:
--enable-tests \
--enable-werror
make
make -j$(nproc)
make check
build-macos:
runs-on: macos-latest
timeout-minutes: 15

env:
CFLAGS=-Wno-assign-enum

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
brew install autoconf automake libtool pkg-config check gnu-indent
brew install glib libssh2 openssl s-lang
- name: Bootstrap build system
run: ./autogen.sh

- name: Build full configuration
run: |
mkdir build-full && cd $_
../configure \
--prefix="$(pwd)/install" \
--enable-mclib \
--enable-aspell
make -j$(sysctl -n hw.logicalcpu)
make check
make install

0 comments on commit dc3c9a4

Please sign in to comment.