diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2017-08-01 00:54:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 00:54:21 -0700 |
commit | 329873efd1e8ad738d6c2de09d1b0bcadb7b689e (patch) | |
tree | 59b427278db32ef01e4249d1450044a76e557fcb /appveyor.yml | |
parent | Merge pull request #491 from jonls/python-controller (diff) | |
parent | Add Windows resources (diff) | |
download | redshift-ng-329873efd1e8ad738d6c2de09d1b0bcadb7b689e.tar.gz redshift-ng-329873efd1e8ad738d6c2de09d1b0bcadb7b689e.tar.bz2 redshift-ng-329873efd1e8ad738d6c2de09d1b0bcadb7b689e.tar.xz |
Merge pull request #490 from jonls/windows-resources
Add icon for Windows build
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/appveyor.yml b/appveyor.yml index 045cec9..57b9cbc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,19 +10,20 @@ 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% -- set CONFIGURE_FLAGS=--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 "mkdir $APPVEYOR_BUILD_FOLDER/root" -- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./bootstrap" -- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./configure --prefix=\"$APPVEYOR_BUILD_FOLDER/root\" $CONFIGURE_FLAGS" -- bash -lc "cd $APPVEYOR_BUILD_FOLDER && make distcheck DISTCHECK_CONFIGURE_FLAGS=\"$CONFIGURE_FLAGS\"" -- bash -lc "cd $APPVEYOR_BUILD_FOLDER && make install" +- ps: | + If ($env:arch -Match "x86_64") { + $env:MSYSTEM = "MINGW64" + } Else { + $env:MSYSTEM = "MINGW32" + } + + $env:CONFIGURE_FLAGS = "--disable-drm --disable-randr --disable-vidmode --enable-wingdi --disable-quartz --disable-geoclue --disable-geoclue2 --disable-corelocation --disable-gui --disable-ubuntu --disable-nls --host=$env:arch-w64-mingw32" + +- ps: md (Join-Path $env:APPVEYOR_BUILD_FOLDER root) +- C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./bootstrap" +- C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./configure --prefix=\"$APPVEYOR_BUILD_FOLDER/root\" $CONFIGURE_FLAGS" +- C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make distcheck DISTCHECK_CONFIGURE_FLAGS=\"$CONFIGURE_FLAGS\"" +- C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make install" after_build: - ps: | |