Add appveyor.sh and appveyor.yml
authorKen Brown <kbrown@cornell.edu>
Mon, 2 Jan 2017 23:29:28 +0000 (18:29 -0500)
committerKen Brown <kbrown@cornell.edu>
Mon, 2 Jan 2017 23:29:28 +0000 (18:29 -0500)
appveyor.sh [new file with mode: 0755]
appveyor.yml [new file with mode: 0644]

diff --git a/appveyor.sh b/appveyor.sh
new file mode 100755 (executable)
index 0000000..8bea3e3
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -e
+
+echo fetching...
+cygport emacs-auctex.cygport fetch
+
+echo prepping...
+cygport emacs-auctex.cygport prep
+
+echo compiling...
+cygport emacs-auctex.cygport compile
+
+echo installing...
+cygport emacs-auctex.cygport inst
+
+echo packaging...
+cygport emacs-auctex.cygport pkg
+
+tar -cJf artifact.tar.xz emacs-auctex-*/dist emacs-auctex-*/log
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644 (file)
index 0000000..71b29da
--- /dev/null
@@ -0,0 +1,24 @@
+version: '{build}'
+skip_tags: true
+environment:
+  CYGWIN_MIRROR: http://cygwin.mirror.constant.com
+  CACHE: C:\cache
+  matrix:
+  - BUILD: x86_64-pc-cygwin
+install:
+- if "%BUILD%"=="x86_64-pc-cygwin" set SETUP=setup-x86_64.exe && set CYGWIN_ROOT=C:\cygwin64
+- if "%BUILD%"=="i686-pc-cygwin" set SETUP=setup-x86.exe && set CYGWIN_ROOT=C:\cygwin
+- if not exist %CACHE% mkdir %CACHE%
+- appveyor DownloadFile http://cygwin.com/%SETUP% -FileName %CACHE%\%SETUP%
+- echo Updating Cygwin
+- '%CACHE%\%SETUP% -qnNdO -R "%CYGWIN_ROOT%" -s "%CYGWIN_MIRROR%" -l "%CACHE%"'
+- echo Installing build dependencies
+- '%CACHE%\%SETUP% -qnNdO -R "%CYGWIN_ROOT%" -s "%CYGWIN_MIRROR%" -l "%CACHE%" -P "cygport"'
+- echo Install done
+cache:
+- C:\cache
+build_script:
+- SET PATH=%CYGWIN_ROOT%/bin
+- '%CYGWIN_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./appveyor.sh"'
+artifacts:
+- path: artifact.tar.xz
This page took 0.022154 seconds and 5 git commands to generate.