diff options
author | Dimitrij Mijoski <dmjpp@hotmail.com> | 2022-02-26 01:22:29 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2022-02-26 21:25:37 +0000 |
commit | 7c5030b316bc43db15f30c4b0fdd0ed07c71cecc (patch) | |
tree | 7d7351a08b15cf28cf3fa95437bafc96f6a59361 /.github/workflows/c-cpp.yml | |
parent | 4d1b6be58c2dd8b05151d55cef1128471a1a21ee (diff) | |
download | enchant-7c5030b316bc43db15f30c4b0fdd0ed07c71cecc.tar.gz |
Add macOS to Github Actions
Diffstat (limited to '.github/workflows/c-cpp.yml')
-rw-r--r-- | .github/workflows/c-cpp.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index f54f379..d156588 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -37,3 +37,25 @@ jobs: - name: make distcheck # normal build is with ASAN, distcheck is without ASAN. Both are covered. run: make distcheck --jobs=`nproc` + + build-macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + with: { submodules: true } + - name: Install dependencies + run: | + brew tap nuspell/nuspell + brew install automake dbus-glib hspell hunspell libvoikko unittest-cpp nuspell coreutils + - name: Bootstrap (gnulib and autoreconf) + run: PATH="$(brew --prefix)/opt/m4/bin:${PATH}" ./bootstrap + - name: configure + # Note: aspell should work on macOS, but has been removed because one of + # the tests fails; see https://github.com/GNUAspell/aspell/issues/555 + run: ./configure --enable-relocatable --without-aspell + - name: make + run: make --jobs=`nproc` + - name: make check + run: make check --jobs=`nproc` + - name: make distcheck + run: make distcheck --jobs=`nproc` DISTCHECK_CONFIGURE_FLAGS="--without-aspell" |