Commit Graph
46 Commits
Author SHA1 Message Date
Jon Parise 0fec66c71f Remove Danger from the development workflow (#1835)
This has proven hard to maintain, and it has limited benefit now that
our CHANGELOG points to GitHub commit ranges.
2020-05-22 14:55:11 -07:00
Greg Bolsinga ddc2dfa113 Do not use xcpretty in builds so that CI errors are logged. (#1830) 2020-05-21 16:09:30 -07:00
vovasty 6eb5c88720 use iOS 13.4.1 and default Xcode 11.4.1 for CI (#1831) 2020-05-21 13:52:54 -07:00
Huy Nguyen ea8172e518 Lint podspec on all pull requests (#1758)
- We recently let a couple of issues slip through code review becase we don't lint our podspec on pull requests since the task takes too long (about half an hour). To prevent this from happening again, this PR adds 2 new CI jobs that lint default and other subspecs on all PRs. By splitting into 2 tasks, the impact on total CI time should be mitigated somewhat. There is still a master-only task that lint all subspecs as the last line of defense in case the 2 new tasks miss any.
2020-01-03 12:48:35 -08:00
Jon Parise 361aa5b5ad Remove references to xcpretty-travis-formatter (#1755)
We now run our CI on GitHub Actions so this is no longer used.
2020-01-02 15:31:47 -08:00
vovasty 17b3ae9b03 use iOS 13.0 and Xcode 11 on CI (#1691) 2019-10-08 15:32:48 -07:00
Jakub Kašpar d0ab404c34 [GitHub CI] Revert back to Ruby Danger as Danger JS is not working properly (#1650)
* Update ci.yml

Add name to the script run phase

* Revert back Dangerfile and remove danger JS, create separate workflow for push for tests and for PR for tests + danger, run ruby danger as part of the PR check

* remove PR ci

* Revert "remove PR ci"

This reverts commit 839ba3ae2a.

* cahnge token to default one

* PR feedback

* Rename danger.yml name
2019-08-31 08:14:17 -07:00
Huy Nguyen 33c4b05907 Set up GitHub Actions CI (#1623)
GitHub Actions now supports CI and it's free for open source projects!

Our current CI runs on a single machine and needs 1h 20m for each build. GitHub CI often finishes everything in less than 10m!

The setup is straight-forward. The only missing feature is the ability to exclude certain files so that if a commit only contains those files, the CI won't test it at all (see exclude-from-build.json). Given that GitHub CI is fast and is not a serial queue, I wouldn't mind testing such commit as well.

* Fix and optimize steps that build example projects

- examples-pt3 builds the same examples as examples-pt1 instead of building the remaining projects. So I fixed it.
- Add another mode (examples-pt4) to distribute the load with existing steps.
- Build extra examples (examples-extra-pt{1, 2, 3}) which weren't built before.
- Each examples-pt and examples-extra-pt builds 5 projects except examples-pt4 and examples-extra-pt3 which build 6.

* Use HTTPS URL for Weaver in Podfile of examples/ASDKgram

* Don't build extra examples for now
2019-08-18 16:40:30 -07:00
Garrett Moon 2de8eec67e Upgrade Xcode and Cocoapods (#1552)
* Upgrade Xcode

* Update examples for new cocoapods / swift

* Fix carthage mode in build.sh
2019-06-12 18:41:54 -07:00
Garrett Moon 32a2ebf49b Update for 9.4.1 CI (#1392) 2019-03-11 09:09:28 -07:00
Kevin fb844c3252 Allow setting SDK and platform through environment variables for build.sh (#1249) 2018-12-03 15:44:15 -08:00
Garrett Moon 8817a009c9 Upgrade dangerfile (#810)
* Upgrade dangerfile

* Allow cocoapods warnings for now :(
2018-02-26 13:16:38 -08:00
Garrett Moon 40551c746b Rolling back CI to known version for now (#585)
* Rolling back CI to known version for now

* Fix availability in tests

* Commenting out for now to see if it builds

* Fix up the Swift framework test

* Fix availability
2017-09-27 09:23:30 +01:00
Adlai Holler 5357d259fa Add new workspaces for tests for different integrations (#377) 2017-06-21 11:06:43 -07:00
Garrett Moon cd42d9ddc0 Adding buildkite support (#1)
* Adding buildkite support

* Update build.sh to support all flag
2017-04-14 09:37:33 -07:00
Michael Schneider ec59c3161a Fix creating derived data folder in build script if it does not exist 2017-02-10 17:01:37 -08:00
Michael Schneider 3ec9e9eee3 Improve Build Script (#3014)
* Move derived data from ~ to ~/ASDKDerivedData

* Add example mode

* Some more improvements

* Some more improvements

* Some more improvements

* Improve cleaning derived data
2017-02-10 16:43:29 -08:00
Michael Schneider 77f29a8b7b Fix CI that broke due to Yoga merge (#3012)
* Fix CI that broke due to Yoga merge

* Next round

* Add clean before building

* Try something else

* Some more burritos
2017-02-10 11:17:25 -08:00
Adlai Holler 38aac9d019 IGListKit Support II: Electric Boogaloo (#2942)
* Reimplement IGListKit support in a cleaner way

* Rename and fix some stuff

* Fix supplementaries more

* Update docs

* Update test

* Cleanup minor things

* Tweak it

* Indentation

* Remove irrelevant changes

* Break out cell into its own file

* Fix indentation

* Address feedback
2017-01-30 11:16:59 -08:00
Michael Schneider a2cd79d406 Update build.sh script to use iOS 10.2 simulator (#2921)
* Update build.sh script to use iOS 10.2 simulator

* Remove the OS version all together

* Remove comment
2017-01-23 16:33:07 -08:00
Garrett Moon c383b52e78 Print out cocoapods environment to help with #2881 (#2882) 2017-01-09 13:36:12 -08:00
Garrett Moon 69e6f4e387 This should mirror the output you get from installing via Carthage. (#2801) 2016-12-21 13:05:48 -05:00
Garrett Moon 80ab695cd0 Add lint mode to build.sh (#2728) 2016-12-07 14:38:12 -08:00
Scott Goodson f9a96d58b8 [Build] Update build script to use iOS 10.1 (Xcode 8.1). 2016-11-07 18:24:34 -08:00
Michael Schneider f369be43dd [Examples] Fix extra examples (#2342)
* Fix

* Add building extra examples to build.sh

* Fix example projects

* Fix CarthageBuildTest

* Export NSArray+Diffing.h to fix life without cocoapods
2016-10-04 19:34:14 -04:00
appleguy fc09badf94 Update build script to run against iOS 10 to fix Jenkins (#2305)
* Update build script to run against iOS 10 to fix Jenkins

* Update Swift example project with iOS 10 build fixes.

* Fix Videos example app to use new style API for layout properties.

* Update Frameworks smoke test to newer Swift language settings.
2016-09-26 18:46:22 -07:00
Adlai Holler 29dd3ce6d6 [build.sh] Update Build Scripts to Get CI Working (#2272)
* [build.sh] Specify iOS 10 SDK for Xcode 8 compatibility

* Update .travis.yml to align with Jenkins config

* Disable examples during API updates
2016-09-26 12:25:10 -07:00
Garrett Moon f3c8fd8d62 Because Pods and the Podfile.lock are not checked in, they should be … (#2029)
* Because Pods and the Podfile.lock are not checked in, they should be removed before installing. Otherwise the state is not consistant.

* Pod install no longer updates the repo

* Copy changes to split up examples.
2016-08-03 13:27:45 -07:00
Hannah Troisi 20edc81f55 Update build.sh file
Adding MODE = "examples" will allow Kosta to speed up internal ASDK build.
2016-06-27 11:19:32 -07:00
Hannah Troisi 21d0f1e10d [Travis CI] Build Optimizations (#1743)
* [Travis CI] Build Optimizations

* update cocoapods versionm

* test sharing derived data directories

* Hack to reduce travis run time

* Remove test file

* Add missing slashes
2016-06-21 01:02:40 -07:00
Michael Schneider 0d925c7a82 Fix build script error if running locally and xcpretty-travis-formatter is not installed 2016-06-03 09:24:35 -07:00
Scott Goodson 613832fc6a [Build] Improve formatting of build script output for Travis. 2016-04-22 19:37:20 -07:00
Scott Goodson 324a73f6e1 [Build] Some performance optimizations for the build, and now using xcpretty to make raw xcodebuild slightly less horrible / more like xctool. 2016-04-21 19:56:07 -07:00
Scott Goodson af0c2f5c37 [Build] Switch from xctool to xcodebuild to work around Travis image bugs
The output is far less readable, but it seems much more reliable.  See:
https://github.com/travis-ci/travis-ci/issues/3986
2016-04-21 19:35:05 -07:00
Scott Goodson 212e0f6c2b [AsyncDisplayKit] Move build server to iOS 9.3. Fix Carthage build. 2016-03-31 00:04:56 -07:00
Engin Kurutepe e11ed66d99 use current-branch in carthage build 2016-03-17 15:00:32 +01:00
Engin Kurutepe 0223893315 generate Cartfile using the local path 2016-03-15 18:13:49 +01:00
Engin Kurutepe bb856d8786 update build script and travis settings 2016-02-24 15:05:37 +01:00
Scott Goodson 7b0c82b0ac Update to use iOS 9.2 simulator for testing, as Xcode 7.2 Travis apparently lacks 9.0. 2015-12-25 19:34:45 -08:00
Adlai Holler 8bb9d173dc Merge branch 'master' into update-objc
Conflicts:
	AsyncDisplayKit/ASDisplayNode+Subclasses.h
	AsyncDisplayKit/ASMultiplexImageNode.h
	AsyncDisplayKit/ASViewController.h
	AsyncDisplayKit/Details/ASDataController.h
2015-10-05 13:24:16 -07:00
Roy Marmelstein f4ba447159 Updating Travis and Build script to test dynamic framework building 2015-10-04 11:03:52 +02:00
Roy Marmelstein 4380e0baae Framework test target 2015-10-04 10:58:33 +02:00
Adlai Holler 70c5582af7 Bump SDK in build.sh 2015-09-19 11:14:45 -07:00
Nadine Salter ad73c86c64 [travis] Life Without CocoaPods. 2015-03-20 16:44:01 -07:00
Nadine Salter a9d555d225 [travis] New build script.
In addition to building & testing AsyncDisplayKit, this new build script
can ensure that all example projects still compile.  This will prevent
breaking API changes from landing without updating sample projects that
use them.  It's also extensible, so we can add additional integration
tests in future (e.g., non-CocoaPods framework integration).
2015-03-20 15:45:33 -07:00
Nadine Salter 8e2a207373 [travis] Only run tests on master; ./build.sh.
Don't consider the build broken if a feature branch is broken.

Move the actual build command to a separate script -- easier to read,
easier to maintain, and easier to run by hand.
2014-11-21 18:46:22 -08:00