diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2017-07-30 11:12:06 -0700 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2017-07-30 12:19:07 -0700 |
commit | 07c413d70504ab5e8b268e69e5d2d5bc1470e75e (patch) | |
tree | 34c222c16c1678c8e9f9009377f7931f4a2c3bfe | |
parent | Merge branch 'appveyor-x86-builds' (diff) | |
download | redshift-ng-07c413d70504ab5e8b268e69e5d2d5bc1470e75e.tar.gz redshift-ng-07c413d70504ab5e8b268e69e5d2d5bc1470e75e.tar.bz2 redshift-ng-07c413d70504ab5e8b268e69e5d2d5bc1470e75e.tar.xz |
Appveyor: Run distcheck as part of build
This ensures that all files required for Windows build are correctly
bundled in the source archive produced by autotools.
-rw-r--r-- | appveyor.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml index 0ddef8c..1e7cca5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,12 +17,15 @@ build_script: 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 --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" +- 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" after_build: - cmd: >- - 7z a redshift-windows-%arch%.zip ./src/redshift.exe COPYING NEWS README.md + 7z a redshift-windows-%arch%.zip "%APPVEYOR_BUILD_FOLDER%/root/bin/redshift.exe" COPYING NEWS README.md appveyor PushArtifact redshift-windows-%arch%.zip |