]> jfr.im git - solanum.git/blame - .appveyor.yml
appveyor: sanity check gcc itself
[solanum.git] / .appveyor.yml
CommitLineData
4acd32f7
AC
1version: 3.6-dev_{build}
2clone_depth: 10
3install:
4acd32f7
AC
4 - c:\msys64\usr\bin\sh.exe -lc "uname -a"
5 - c:\msys64\usr\bin\sh.exe -lc "cat /proc/cpuinfo"
6 - c:\msys64\usr\bin\sh.exe -lc "cat /proc/meminfo"
7 - c:\msys64\usr\bin\sh.exe -lc "cygcheck -s -v > $APPVEYOR_BUILD_FOLDER/cygcheck.log 2>&1"
2677b171 8 - c:\msys64\usr\bin\sh.exe -lc "/mingw64/bin/x86_64-w64-mingw32-gcc.exe -v"
64832940
AC
9 - c:\msys64\usr\bin\sh.exe -lc "echo 'int main(void) { return 0; }' > gcc-test.c && /mingw64/bin/x86_64-w64-mingw32-gcc.exe -o gcc-test.exe gcc-test.c"
10 - c:\msys64\usr\bin\sh.exe -lc "./gcc-test"
4acd32f7
AC
11 - ps: Push-AppveyorArtifact cygcheck.log
12build_script:
13 - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER; ./autogen.sh < /dev/null"
315c3a8f 14 - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER; env CC=/mingw64/bin/x86_64-w64-mingw32-gcc.exe ./configure --prefix=c:/projects/charybdis/build --enable-openssl=/mingw64 < /dev/null"
4acd32f7
AC
15 - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER; make -j2 < /dev/null"
16 - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER; make install < /dev/null"
17 - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER/build/bin; ./charybdis -version"
0e961686
AC
18on_failure:
19 - ps: Push-AppveyorArtifact config.log