diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50dda8da52..c6372a4f10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,8 +37,8 @@ jobs: --enable-vfs-undelfs \ --enable-werror - make - make -k check + make -j$(nproc) + make check make install # make indent @@ -55,7 +55,8 @@ jobs: --with-search-engine=pcre2 \ --enable-werror - make + make -j$(nproc) + make check - name: Build minimal configuration run: | @@ -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