Commit Graph

30 Commits

Author SHA1 Message Date
Christoph Reiter
5e849aea1b appveyor: disable the CheckSpace functionality in pacman.conf to speed up installation (#3347)
We don't care if we end up with a broken system on appveyor as it will
be reset anyway.

This saves ~20-50sec depending on the amount of dependencies.
2018-02-05 13:07:25 +03:00
Renato Silva
40222700c0 CI: Fix saneman installation and update. 2016-06-25 11:26:35 -03:00
Renato Silva
0c81e8d900 CI: Check recipe quality with saneman. 2016-06-22 20:30:34 -03:00
Renato Silva
5d8c376966 CI: Fix detection of package installation failures. 2016-05-04 21:13:06 -03:00
Renato Silva
b1cbba8aa4 CI: System update fixes.
* Update pacman to latest version for performing the AppVeyor core
  update instead of explicitly referencing the core packages. Missing
  references would cause the just upgraded pacman to detect a still
  required core update in ci-build script, where it is supposed to
  perform a regular update instead.

* Enable downgrades in ci-build script and AppVeyor so package versions
  removed from pacman repositories are properly reverted.

* Install git as required by ci-build script.
2016-04-28 19:19:39 -03:00
Renato Silva
46564b3351 CI: Some improvements.
* Only build packages that are actually present in source tree.
  This should fix detection of renamed package folders, including case
  sensitivity changes.

* Fix case sensitivity of Bintray account names.
  Bintray accounts are now properly referenced in lowercase, and compared
  without case sensitivity against the GitHub account for enabling deployment.

* Initialize target list when converting lines to array.
2016-03-23 18:41:01 -03:00
Renato Silva
7bc337fd8c CI: Support for package deployment.
A pacman repository is now generated with built packages, and exported by
AppVeyor to Bintray. Similar export can now be implemented for Drone, and
services other than Bintray can also be used.
2016-03-17 15:12:21 -03:00
Renato Silva
de88c18ef3 CI: Build changed dependencies first. 2016-03-17 13:06:22 -03:00
Renato Silva
6f9f5ded72 CI: Source code refactoring for helper functions.
These functions have been moved to a separate library file and refactored to
become more readable.
2016-03-17 13:06:22 -03:00
Renato Silva
344f4ab184 Some more refactoring for CI script. 2016-02-24 18:51:14 -03:00
Renato Silva
9a6108cadd Some improvements for CI script.
* Detected commits are now listed even when no package is built.
* Some code refactoring.
2016-02-24 16:05:39 -03:00
Renato Silva
5ffcbe43ba CI: Fetch the upstream remote silently (already applied to MSYS2-packages). 2016-02-24 16:11:54 +01:00
Renato Silva
5263a4ce04 Improvements and fixes for CI script.
* New implementation for detection of changed recipes.
  This is done by listing files changed since upstream master. When the list is
  empty (e.g. current branch is master itself), changes from latest commit are
  built instead.

* Merge dependency installation and actual build into one single makepkg call.
  Extracting sources normally for each architecture on actual build should fix
  patches getting applied twice for MINGW packages.

* Use --cleanbuild in makepkg call so MINGW packages using a common build
  directory across different architectures always rebuild for each.

* Use --rmdeps in makepkg call so missing depends/makedepends can be detected
  for subsequent recipe builds.

* Source code refactoring.
2016-02-23 20:35:39 -03:00
Qian Hong
2460183b07 CI: Fix output format of execute(). 2016-02-18 03:14:14 +08:00
Qian Hong
ea21664f25 CI: Update core packages before full system upgrade. 2016-02-16 20:50:29 +08:00
Renato Silva
a2680f4afb CI: Colored output and source code refactoring. 2016-02-15 18:14:59 -02:00
MSYS2 Continuous Integration
bb84d73564 CI: Fix syntax error 2016-02-15 10:10:16 +01:00
MSYS2 Continuous Integration
41af6e4e4a CI: Revert git config also before installing packages 2016-02-15 10:06:09 +01:00
David Macek
9bddf3c580 CI: Fix most failures when installing conflicting packages 2016-02-15 09:58:54 +01:00
David Macek
bd2106b79b CI: Fix pkgver() error when installing dependencies by downloading sources early 2016-02-15 09:58:37 +01:00
David Macek
c8b2af1774 CI: Revert git config on exit 2016-02-15 09:57:53 +01:00
MSYS2 Continuous Integration
37d73c0549 CI: Fix echo 2016-02-11 19:16:16 +01:00
MSYS2 Continuous Integration
7843f2bdff CI: Separate installation of dependencies from actual build 2016-02-11 16:43:49 +01:00
MSYS2 Continuous Integration
5aeda08190 CI: Print useful info, in pretty formatting 2016-02-11 16:43:26 +01:00
Qian Hong
2ac50b7023 Continuous Integration: Avoid building a package repeatly if it was touched by multiple commits in a pull request. 2016-02-11 22:37:58 +08:00
Qian Hong
8d1404c1fe Continuous Integration: Update package detection logic. 2016-02-11 20:02:03 +08:00
Qian Hong
c37c866327 Continuous Integration: Upgrade system before installing dependencies. 2016-02-11 19:49:20 +08:00
Qian Hong
6b76475f18 Continuous Integration: Test package installaton after successful build. 2016-02-08 14:04:22 +08:00
Qian Hong
3ef83d9e2f Continuous Integration: fix typo. 2016-02-08 05:17:16 +08:00
Qian Hong
6a89c3bf48 Appveyor CI: Enable --nocheck and --noprogressbar.
Rename build script and variables in a neutral way.
2016-02-08 05:03:10 +08:00