aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
blob: 0ddef8cbad8251101e27ade7211c1e9fe6238b99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
image:
- Visual Studio 2015

environment:
  matrix:
    - arch: x86_64
    - arch: i686

build:
  verbosity: detailed

build_script:
- if [%arch%]==[x86_64] (
    SET "ADD_PATH_CMD=C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin"
  )
- if [%arch%]==[i686] (
    SET "ADD_PATH_CMD=C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin"
  )
- set PATH=C:\msys64\usr\bin;%ADD_PATH_CMD%;%PATH%
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./bootstrap"
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./configure --enable-static --disable-shared --disable-drm --disable-randr --disable-vidmode --enable-wingdi --disable-quartz --disable-geoclue --disable-geoclue2 --disable-corelocation --disable-gui --disable-ubuntu --disable-nls --host=$arch-w64-mingw32"
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && make"

after_build:
- cmd: >-
    7z a redshift-windows-%arch%.zip ./src/redshift.exe COPYING NEWS README.md

    appveyor PushArtifact redshift-windows-%arch%.zip