-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (50 loc) · 1.13 KB
/
test-mingw.yml
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
name: mecab on MinGW
on:
pull_request:
paths:
- ".github/workflows/test-mingw.yml"
- "mecab/**"
push:
branches:
- main
paths:
- ".github/workflows/test-mingw.yml"
- "mecab/**"
jobs:
test:
name: Test
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
install: >
autoconf-wrapper
automake-wrapper
autotools
bison
make
mingw-w64-x86_64-gcc
mingw-w64-x86_64-libtool
mingw-w64-x86_64-libiconv
- name: configure
run: |
./autogen.sh
./configure --host=x86_64-w64-mingw32
shell: msys2 {0}
working-directory: mecab
- name: make
run: |
make all
make check
make install
shell: msys2 {0}
working-directory: mecab
- name: build ipadic
run: |
./autogen.sh
./configure --with-charset=utf8
make all
make install
shell: msys2 {0}
working-directory: mecab-ipadic