]> jfr.im git - solanum.git/blobdiff - .appveyor.yml
Merge pull request #260 from FauxFaux/yesno-1
[solanum.git] / .appveyor.yml
index 3f7ab94d8ec9cf86b1a2147dd3db9e385840938e..59ae886be583a410dc54bae87033342fdbd5a01e 100644 (file)
@@ -1,17 +1,18 @@
-version: 3.6-dev_{build}
+version: 4_{build}
 clone_depth: 10
 install:
-  - c:\msys64\usr\bin\sh.exe -lc "pacman -S --noconfirm mingw-w64-x86_64-openssl"
-  - c:\msys64\usr\bin\sh.exe -lc "echo 'Building on:'"
+  - c:\msys64\usr\bin\sh.exe -lc "pacman -Sy --noconfirm git"
   - 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/meminfo"
   - c:\msys64\usr\bin\sh.exe -lc "cygcheck -s -v > $APPVEYOR_BUILD_FOLDER/cygcheck.log 2>&1"
   - ps: Push-AppveyorArtifact cygcheck.log
 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; env CC=/mingw64/bin/x86_64-w64-mingw32-gcc.exe ./configure --prefix=$APPVEYOR_BUILD_FOLDER/build --enable-openssl=/mingw64 < /dev/null"
-  - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER; make -j2 < /dev/null"
-  - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER; make install < /dev/null"
-  - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER/build/bin; ./charybdis -version"
-
+  - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER; sh .appveyor-build.sh"
+#  - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER/build/bin; ./charybdis -version"
+on_failure:
+  - ps: Push-AppveyorArtifact config.log
+  - ps: Push-AppveyorArtifact librb\include\librb-config.h
+branches:
+  except:
+    - release/3.5