Skip to content

Commit 98f6b75

Browse files
authored
Merge pull request #7 from kosh04/update-msys2
Prefer mingw32/64 PATH
2 parents 158f7ed + de6abb6 commit 98f6b75

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

appveyor.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ environment:
1616
CYGWIN_MIRROR: http://mirrors.kernel.org/sourceware/cygwin/
1717

1818
matrix:
19-
- TARGET: x86_64-w64-mingw32
20-
MSYS2_ARCH: x86_64
21-
MSYSTEM: MINGW64
19+
- TARGET: mingw32
20+
MSYS_ARCH: x86
2221

2322
- TARGET: i686-w64-mingw32
2423
MSYS2_ARCH: i686
2524
MSYSTEM: MINGW32
2625

27-
- TARGET: mingw32
28-
MSYS_ARCH: x86
26+
- TARGET: x86_64-w64-mingw32
27+
MSYS2_ARCH: x86_64
28+
MSYSTEM: MINGW64
2929

3030
- TARGET: i686-pc-cygwin
3131
CYGWIN_ARCH: x86
@@ -42,9 +42,13 @@ matrix:
4242
# Note: mingw32 with libffi may requires CFLAGS+="-DWINVER=0x0600"
4343
- TARGET: mingw32
4444

45+
cache:
46+
- '%MSYS2_ROOT%\var\cache'
47+
- '%CYGWIN_CACHE%'
48+
4549
install:
46-
- if defined MSYS2_ARCH appveyor SetVariable -Name PATH -Value "%MSYS2_ROOT%\%MSYSTEM%\bin;%PATH%"
4750
- if defined MSYS2_ARCH appveyor SetVariable -Name PATH -Value "%MSYS2_ROOT%\usr\bin;%PATH%"
51+
- if defined MSYS2_ARCH appveyor SetVariable -Name PATH -Value "%MSYS2_ROOT%\%MSYSTEM%\bin;%PATH%"
4852

4953
- if defined MSYS_ARCH appveyor SetVariable -Name PATH -Value "%MINGW_ROOT%\bin;%PATH%"
5054
- if defined MSYS_ARCH appveyor SetVariable -Name PATH -Value "%MSYS_ROOT%\bin;%PATH%"
@@ -64,14 +68,11 @@ install:
6468
- if defined CYGWIN_ARCH sh -lc "curl -OLsk https://github.com/bminor/glibc/raw/master/inet/netinet/icmp6.h"
6569
- if defined CYGWIN_ARCH sh -lc "install -D icmp6.h /usr/include/netinet/icmp6.h"
6670

71+
- where %CC%
6772
- '%CC% -v'
6873

69-
cache:
70-
- '%MSYS2_ROOT%\var\cache'
71-
- '%CYGWIN_CACHE%'
72-
7374
build_script:
74-
- sh -c 'make $NEWLISP_MAKE_TARGET CC="$CC --coverage"'
75+
- sh -c 'make CC="$CC --coverage"'
7576

7677
test_script:
7778
- sh -c "./newlisp -v"

0 commit comments

Comments
 (0)