Commit Graph

12 Commits

Author SHA1 Message Date
Pascal Hartig
81b2487b8a Attempt to build with newer SDK/NDK (#543)
Summary:
Current builds are failing and I'm not quite sure why.
Pull Request resolved: https://github.com/facebook/flipper/pull/543

Reviewed By: jknoxville

Differential Revision: D17364947

Pulled By: passy

fbshipit-source-id: 07c418e340cabb70806c8f73b4eb867ba7e0fc4b
2019-09-13 08:56:41 -07:00
Pritesh Nandgaonkar
07f327f46b Automate iOS release (#445)
Summary:
This PR sets up Circle CI to publish pods when github release is made. This PR also updates the Flipper-Folly pod as it didn't build on 32 bit architecture, because `thread_local` was not supported.

Automated publish of cocoapods through Circle CI.
Pull Request resolved: https://github.com/facebook/flipper/pull/445

Reviewed By: danielbuechele

Differential Revision: D15333975

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 7db68efeeebbe344213917f10f9f3ce4132e8cbc
2019-05-14 07:24:10 -07:00
pavlospt
b8dbbb0313 Properly fix license issue in CircleCI (#362)
Summary:
Apparently this seems to be the only way to make build work, with the updated licenses. It also follows the same strategy as Travis.

I am using double pipe in `sdkmanager` command execution, to avoid breaking the build, because `sdkmanager` returns exit code 141 in case it meets the requirements requested. (e.g.: `yes | sdkmanager --licenses` returns 141, which in turn breaks the build due to `set -eo pipefail` Bash flags, that CircleCI is using in order to execute any scripts)

For the record, I tried the following solutions, that did not work:
* Add accepted license SHA in Android SDK licenses folder.
* Accept all licenses prior to running the other jobs (with a separate job, working as a dependency to the rest of the Workflow jobs) (`yes | sdkmanager --licenses`)
* Accept all licenses prior to executing any Gradle command (without a separate job) (`yes | sdkmanager --licenses`)
Pull Request resolved: https://github.com/facebook/flipper/pull/362

Differential Revision: D13817430

Pulled By: passy

fbshipit-source-id: d8c95fc5b9202306dd50ea103b6e90142e73ef61
2019-01-25 05:26:31 -08:00
Pavlos-Petros Tournaris
682b9bda57 Typo in CircleCI/config.yml (#361)
Summary:
My bad, forgot the `steps` key.
Pull Request resolved: https://github.com/facebook/flipper/pull/361

Differential Revision: D13760713

Pulled By: passy

fbshipit-source-id: 7650644827dbd9919681cd16a72ccf0140f59446
2019-01-22 02:30:37 -08:00
pavlospt
51c496ddef Add accepted Android SDK license (#359)
Summary:
Android SDK license SHA has been updated as of January 16, 2019 so it needs to be re-accepted. This is only needed for CircleCI since in Travis setup `sdkmanager` is used in order to accept the Licenses.
Pull Request resolved: https://github.com/facebook/flipper/pull/359

Differential Revision: D13751841

Pulled By: passy

fbshipit-source-id: f3d84277f06bedf06b7a766429d9f7e3275bb516
2019-01-21 10:33:39 -08:00
Pascal Hartig
6c3a6c0d66 Upgrade to Circle 2.1 (#289)
Summary:
Use CircleCI 2.1 for common executors and remove the common build step
as this is already done by Travis. Instead, focus on publishing either
snapshots or releases.
Pull Request resolved: https://github.com/facebook/flipper/pull/289

Reviewed By: jknoxville

Differential Revision: D10216413

Pulled By: passy

fbshipit-source-id: cfbc52c43187339ae6cb1c486d81e7c40216e86b
2018-10-05 07:59:19 -07:00
Pascal Hartig
d69fb9e6a1 Separate snapshot publish logic (#288)
Summary:
Snapshots should only ever be published off of master.
Pull Request resolved: https://github.com/facebook/flipper/pull/288

Reviewed By: danielbuechele

Differential Revision: D10161974

Pulled By: passy

fbshipit-source-id: dca8463ff80de9d407758405c24e6511bef534d1
2018-10-04 03:42:26 -07:00
Pascal Hartig
e98d4821fd Attempt to fix config-error (#270)
Summary:
Per title. Not very helpful error here:

https://circleci.com/workflow-run/4df8960b-e74e-4c58-8072-ac9aad94c063
Pull Request resolved: https://github.com/facebook/flipper/pull/270

Reviewed By: jknoxville

Differential Revision: D9861448

Pulled By: passy

fbshipit-source-id: 71f46ce0bc3b9fe98ac9a7abecc6fb9c3a531f59
2018-09-17 09:58:01 -07:00
Pascal Hartig
b342b07a89 Add branch filter for builds (#268)
Summary:
Nothing seems to run now, so let's try "trigger schedules" instead.
Pull Request resolved: https://github.com/facebook/flipper/pull/268

Reviewed By: priteshrnandgaonkar

Differential Revision: D9851086

Pulled By: passy

fbshipit-source-id: 8327e0f7b2a416541e8b531578ea813cc168ff66
2018-09-17 07:12:00 -07:00
Pascal Hartig
474a36c0e2 Set up automatic release publishing (#266)
Summary:
On tags, build and publish artifacts to bintray. The encrypted accounted creds are for a `flipperfbbot` account on Bintray I created for this.
Pull Request resolved: https://github.com/facebook/flipper/pull/266

Reviewed By: priteshrnandgaonkar

Differential Revision: D9848181

Pulled By: passy

fbshipit-source-id: cf9150b2352a9ce972c48533ce15e8e75aa908fe
2018-09-17 01:57:48 -07:00
Pascal Hartig
cf3cb0d08f Use CircleCI for SNAPSHOT deployment (#260)
Summary:
Per title. It actually works!
Pull Request resolved: https://github.com/facebook/flipper/pull/260

Reviewed By: jknoxville

Differential Revision: D9633320

Pulled By: passy

fbshipit-source-id: 10ee856977fa0a337972a472d41eb7a83075c39b
2018-09-04 04:28:20 -07:00
Pascal Hartig
a26cc6db9b Initial setup for CircleCI (#257)
Summary:
This is so much faster! This should allow us to more easily publish snapshots.
Pull Request resolved: https://github.com/facebook/flipper/pull/257

Reviewed By: danielbuechele

Differential Revision: D9630067

Pulled By: passy

fbshipit-source-id: 64c633933a971cc15371d2ee90c184e13b98e06a
2018-09-03 07:43:52 -07:00