Skip to content

fixup! Ticket #4170: implement CI via GitHub Actions #1

fixup! Ticket #4170: implement CI via GitHub Actions

fixup! Ticket #4170: implement CI via GitHub Actions #1

Workflow file for this run

name: ci-macos
on: [ push, pull_request ]
jobs:
build-macos:
runs-on: macos-latest
timeout-minutes: 5
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
env:
CFLAGS: -Wno-assign-enum
steps:
- uses: actions/checkout@v4
- name: Install dependencies
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
run: ./autogen.sh
- name: Build default configuration
run: |
./configure \
--prefix="$(pwd)/install" \
--enable-mclib \
--enable-aspell=/opt/homebrew
make -j$(sysctl -n hw.logicalcpu)
make check
make install
- uses: actions/upload-artifact@v4
if: failure()
with:
name: test-suite-logs-macos
path: build-*/**/test-suite.log