Merge pull request #482 from jonls/appveyor

Fix #438: Add AppVeyor configuration
This commit is contained in:
Jon Lund Steffensen
2017-07-27 12:56:57 -07:00
committed by GitHub
2 changed files with 38 additions and 8 deletions
+14 -8
View File
@@ -18,15 +18,15 @@ Build status
------------
[![Build Status](https://travis-ci.org/jonls/redshift.svg?branch=master)](https://travis-ci.org/jonls/redshift)
Building from source
--------------------
See the file [HACKING](HACKING.md) for more details on building from source.
[![Build Status](https://ci.appveyor.com/api/projects/status/github/jonls/redshift?branch=master&svg=true)](https://ci.appveyor.com/project/jonls/redshift)
FAQ
---
**How do I install Redshift?**
Use the packages provided by your distribution, e.g. for Ubuntu: `apt-get install redshift` or `apt-get install redshift-gtk`. For developers, please see _Building from source_ and _Latest builds from master branch_ below.
**Where can I find my coordinates to put in the configuration file?**
There are multiple web sites that provide coordinates for map locations, for
@@ -91,7 +91,13 @@ Please go to [the issue tracker](https://github.com/jonls/redshift/issues) and
check if your issue has already been reported. If not, please open a new issue
describing you problem.
Donations
---------
Latest builds from master branch
--------------------------------
[![Flattr](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/thing/57936/Redshift)
- [Ubuntu PPA](https://launchpad.net/~dobey/+archive/ubuntu/redshift-daily/+packages) (`sudo add-apt-repository ppa:dobey/redshift-daily`)
- [Windows x64](https://ci.appveyor.com/api/projects/jonls/redshift/artifacts/redshift.zip?branch=master)
Building from source
--------------------
See the file [HACKING](HACKING.md) for more details on building from source.
+24
View File
@@ -0,0 +1,24 @@
image:
- Visual Studio 2015
environment:
MSYS_ARCH: x86_64
build:
verbosity: detailed
build_script:
- echo %PATH%
- set PATH=C:\msys64\usr\bin;C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
- set CC=gcc
- set MSYSTEM=MINGW64
- bash -lc "pwd"
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./bootstrap"
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./configure --disable-drm --disable-randr --disable-vidmode --enable-wingdi --disable-geoclue --disable-gui --disable-ubuntu --host=x86_64-w64-mingw32"
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && make"
after_build:
- cmd: >-
7z a redshift.zip ./src/redshift.exe COPYING NEWS README.md
appveyor PushArtifact redshift.zip