0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

appveyor: sanity check gcc itself

This commit is contained in:
William Pitcock 2016-03-20 20:50:57 -05:00
parent e94decb620
commit 64832940fb

View file

@ -1,14 +1,13 @@
version: 3.6-dev_{build} version: 3.6-dev_{build}
clone_depth: 10 clone_depth: 10
install: install:
- c:\msys64\usr\bin\sh.exe -lc "pacman -Sy --noconfirm bash pacman msys2-runtime"
- c:\msys64\usr\bin\sh.exe -lc "pacman -Syu --noconfirm"
- c:\msys64\usr\bin\sh.exe -lc "echo 'Building on:'"
- c:\msys64\usr\bin\sh.exe -lc "uname -a" - c:\msys64\usr\bin\sh.exe -lc "uname -a"
- c:\msys64\usr\bin\sh.exe -lc "cat /proc/cpuinfo" - c:\msys64\usr\bin\sh.exe -lc "cat /proc/cpuinfo"
- c:\msys64\usr\bin\sh.exe -lc "cat /proc/meminfo" - c:\msys64\usr\bin\sh.exe -lc "cat /proc/meminfo"
- c:\msys64\usr\bin\sh.exe -lc "cygcheck -s -v > $APPVEYOR_BUILD_FOLDER/cygcheck.log 2>&1" - c:\msys64\usr\bin\sh.exe -lc "cygcheck -s -v > $APPVEYOR_BUILD_FOLDER/cygcheck.log 2>&1"
- c:\msys64\usr\bin\sh.exe -lc "/mingw64/bin/x86_64-w64-mingw32-gcc.exe -v" - c:\msys64\usr\bin\sh.exe -lc "/mingw64/bin/x86_64-w64-mingw32-gcc.exe -v"
- 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"
- c:\msys64\usr\bin\sh.exe -lc "./gcc-test"
- ps: Push-AppveyorArtifact cygcheck.log - ps: Push-AppveyorArtifact cygcheck.log
build_script: build_script:
- c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER; ./autogen.sh < /dev/null" - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER; ./autogen.sh < /dev/null"