File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ #
2
+ # Derrived from .github/workflows/testing-msys2.yml of universal-ctags/ctags repo
3
+ #
4
+ name : run test cases on MSYS2
5
+
6
+ on :
7
+ push :
8
+ branches : [ master ]
9
+ pull_request :
10
+ branches : [ master ]
11
+
12
+ jobs :
13
+ testing :
14
+ runs-on : windows-latest
15
+
16
+ strategy :
17
+ matrix :
18
+ msystem : [MSYS, MINGW32, MINGW64]
19
+
20
+ defaults :
21
+ run :
22
+ shell : msys2 {0}
23
+
24
+ steps :
25
+ - uses : msys2/setup-msys2@v2
26
+ with :
27
+ msystem : ${{ matrix.msystem }}
28
+ update : true
29
+ install : git make automake1.16 autoconf libtool
30
+
31
+ - if : matrix.msystem == 'MSYS'
32
+ run : pacman -S --noconfirm gcc
33
+
34
+ - if : matrix.msystem == 'MINGW32'
35
+ run : pacman -S --noconfirm mingw-w64-i686-toolchain
36
+
37
+ - if : matrix.msystem == 'MINGW64'
38
+ run : pacman -S --noconfirm mingw-w64-x86_64-toolchain
39
+
40
+ - run : ln -s /usr/bin/automake-1.16 /usr/bin/automake
41
+ - run : ln -s /usr/bin/aclocal-1.16 /usr/bin/aclocal
42
+
43
+ - run : git config --global core.autocrlf input
44
+ shell : bash
45
+ - uses : actions/checkout@v2
46
+
47
+ - run : ./autogen.sh
48
+ - run : ./configure --prefix=/usr
49
+ - run : make V=1
50
+ - run : make check V=1
You can’t perform that action at this time.
0 commit comments