diff options
author | Dimitrij Mijoski <dmjpp@hotmail.com> | 2022-02-26 18:12:05 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2022-02-26 21:25:37 +0000 |
commit | 49d87fea52bb19770f76710cfaf69881246a7219 (patch) | |
tree | aba5f1e0e5e1dbbd99142e07cce25a452cc1a9a2 /.github/workflows/c-cpp.yml | |
parent | 7c5030b316bc43db15f30c4b0fdd0ed07c71cecc (diff) | |
download | enchant-49d87fea52bb19770f76710cfaf69881246a7219.tar.gz |
Add Windows to Github Actions
Diffstat (limited to '.github/workflows/c-cpp.yml')
-rw-r--r-- | .github/workflows/c-cpp.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index d156588..56e25dc 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -59,3 +59,40 @@ jobs: run: make check --jobs=`nproc` - name: make distcheck run: make distcheck --jobs=`nproc` DISTCHECK_CONFIGURE_FLAGS="--without-aspell" + + build-windows: + runs-on: windows-latest + defaults: + run: + shell: msys2 {0} + strategy: + matrix: + include: + - { sys: mingw64, env: x86_64 } + - { sys: mingw32, env: i686 } + steps: + - uses: msys2/setup-msys2@v2 + with: + release: false + msystem: ${{matrix.sys}} + install: >- + patch git + mingw-w64-${{matrix.env}}-autotools + mingw-w64-${{matrix.env}}-gcc + mingw-w64-${{matrix.env}}-glib2 + mingw-w64-${{matrix.env}}-hunspell + mingw-w64-${{matrix.env}}-hunspell-en + mingw-w64-${{matrix.env}}-nuspell + mingw-w64-${{matrix.env}}-unittest-cpp + - uses: actions/checkout@v2 + with: { submodules: true } + - name: Bootstrap (gnulib and autoreconf) + run: ./bootstrap + - name: configure + run: ./configure --enable-relocatable + - name: make + run: make --jobs=`nproc` + - name: make check + run: make check --jobs=`nproc` + - name: make distcheck + run: make distcheck --jobs=`nproc` |