blob: c413347c058ea85d4677fa73db4cb7565b184a09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
version: "{build}"
environment:
global:
# Only need one flavour of dictionary
CONFIGURE_FLAGS: --with-hunspell-dir=/mingw64/share/hunspell
VERBOSE: 1 # Get test logs in output
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
ASAN: 'yes'
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
- APPVEYOR_BUILD_WORKER_IMAGE: macos
# MSYS does not have hunspell packages
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
# MSYSTEM: MSYS
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
MSYSTEM: MINGW64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
MSYSTEM: MINGW32
for:
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
init:
- sudo apt-get -y update && sudo apt-get -y upgrade
- sudo apt-get -y install libglib2.0-dev libaspell-dev hspell libhunspell-dev libvoikko-dev voikko-fi aspell-en libunittest++-dev hunspell-fr libicu-dev ninja-build
- wget https://github.com/nuspell/nuspell/archive/refs/tags/v5.1.0.tar.gz -O - | tar -xz
- cmake -S nuspell-* -B nuspell-build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=0
- cmake --build nuspell-build
- sudo cmake --install nuspell-build
- rm -rf nuspell-*
build_script:
- export ASAN
- ./build-aux/appveyor-build.sh
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: macos
init:
# Note: aspell should work on macOS, but has been removed because one of
# the tests fails; see https://github.com/GNUAspell/aspell/issues/555
- brew install glib dbus-glib hspell hunspell libvoikko unittest-cpp
environment:
LDFLAGS: "-L/usr/local/opt/flex/lib -L/usr/local/opt/texinfo/lib"
CPPFLAGS: "-I/usr/local/opt/flex/include"
PYTHON: /usr/local/bin/python3
build_script:
# Prepend optional brew binary directories to PATH
# Also prepend /usr/local/bin to work around https://github.com/appveyor/ci/issues/3326
- export PATH="/usr/local/opt/flex/bin:/usr/local/opt/m4/bin:/usr/local/opt/texinfo/bin:/usr/local/opt/gettext/bin:/usr/local/opt/cython/bin:/usr/local/bin:$PATH"
- ./build-aux/appveyor-build.sh
-
matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
init:
- git config --global core.autocrlf input
- C:\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -S libtool autoconf automake"
install:
- C:\msys64\usr\bin\bash.exe -l c:/projects/enchant/build-aux/appveyor-install.sh
# FIXME: add all available providers (just aspell?)
build_script:
- C:\msys64\usr\bin\bash.exe -lc "cd c:/projects/enchant && ./bootstrap && ./configure --enable-relocatable %CONFIGURE_FLAGS% && make && make DISTCHECK_CONFIGURE_FLAGS=\"--enable-relocatable %CONFIGURE_FLAGS%\" distcheck"
|