- 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.
* 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
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
* 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
* Move derived data from ~ to ~/ASDKDerivedData
* Add example mode
* Some more improvements
* Some more improvements
* Some more improvements
* Improve cleaning derived data
* 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
* Fix
* Add building extra examples to build.sh
* Fix example projects
* Fix CarthageBuildTest
* Export NSArray+Diffing.h to fix life without cocoapods
* 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.
* 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.
* [Travis CI] Build Optimizations
* update cocoapods versionm
* test sharing derived data directories
* Hack to reduce travis run time
* Remove test file
* Add missing slashes
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).
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.