Commit Graph

56 Commits

Author SHA1 Message Date
Joonas Koivunen
4208decc41 ci: rekey cargo cache 2020-07-30 14:42:22 +03:00
Joonas Koivunen
832bbfaafe ci: skip npm caching for cross builds, cache key
the cross builders might end up otherwise poisoning the cache with an
empty npm. this may have already happened and explains why it didn't
work for mac and linux.

also include the patches again in the cache key.
2020-07-30 13:55:38 +03:00
Joonas Koivunen
9ec7583343 ci: use cookbook recipe for cargo caching 2020-07-30 13:39:57 +03:00
Joonas Koivunen
144985d06d ci: name the npm caching step 2020-07-30 13:37:53 +03:00
Joonas Koivunen
34b158e35c ci: bogus cache key rename 2020-07-30 13:37:53 +03:00
Joonas Koivunen
ec0b1b3f62 ci: use cookbook for npm caching
quite unsure how this will work on windows but lets see.
2020-07-30 13:37:53 +03:00
Joonas Koivunen
337f1b2ebf ci: update cache to version 2
sadly we cannot follow the cargo recipe as the target dir is at least
2GB and cannot be cached... unless the final artifacts were excluded?
2020-07-30 13:37:53 +03:00
Joonas Koivunen
79a9b2ce76 ci: make the readme/lint caches useful 2020-07-30 13:37:53 +03:00
Joonas Koivunen
7b38dec376 ci: rename key for node_modules
apparently the upload had failed or something previously.
2020-07-30 13:37:53 +03:00
Joonas Koivunen
cb6a643602 ci: use h(Cargo.lock) for cargo caching 2020-07-30 13:37:53 +03:00
Joonas Koivunen
9ded429ab2 ci: cache node_modules 2020-07-30 13:37:53 +03:00
Joonas Koivunen
4a9390f85a ci: use run-vcpkg for openssl
run-vcpkg should handle caching properly for us. See #261 for it not
working properly, there were linker errors with latest openssl-sys.

This also gets rid of the llvm dependency on windows which wasn't
eventually needed. I guess there is such thing as binary compatibility
after all!
2020-07-28 13:32:51 +03:00
Joonas Koivunen
8971c9d05e ci: stop building pushes to master
bors should only fast forward or reset the master to HEAD of staging
at the end of each run, so if there is a credit system on GH we are just
wasting those credits on each merged PR.
2020-07-21 21:26:22 +03:00
Mark Robert Henderson
fba5399fc1 Removing the http symlink
Update setup.sh

Update ci.yml
2020-07-20 11:09:19 -04:00
Joonas Koivunen
96752cc5ac fix: enable debug output for npm tests (ipfsd-ctl) 2020-07-20 13:11:57 +03:00
Joonas Koivunen
b657f4b27a ci: stop checking out conformance tests 2020-07-16 14:45:22 +03:00
Joonas Koivunen
32c03baa91 doc: add missing "is" to bors config 2020-06-26 12:29:07 +03:00
Joonas Koivunen
02f5d3db8a ci: require one review approval with bors 2020-06-26 10:49:56 +03:00
Joonas Koivunen
72a26b6d18 ci: use bash on windows as well 2020-06-26 10:49:32 +03:00
Joonas Koivunen
651dc32ef9 ci: welcome bors 2020-06-25 18:25:09 +03:00
Joonas Koivunen
03eb0d74a5 ci: merge conformance workflow into ci 2020-06-25 18:25:09 +03:00
Joonas Koivunen
7e86781353 ci: add combined marker "ci" status
the marker will be used by bors.
2020-06-25 18:25:09 +03:00
Joonas Koivunen
2c4feb9f33 ci: use sudo to run tests on macos
according to some folklore, sudo is required to get core dumps. sadly we
haven't been able to test if its required.
2020-06-23 16:06:38 +03:00
Joonas Koivunen
7616cbf333 ci: split test step, publish core dumps on macos 2020-06-19 16:52:28 +03:00
Joonas Koivunen
0bd822a3de ci: use all-targets instead of tests and examples 2020-06-19 16:52:28 +03:00
Joonas Koivunen
33648e9cea ci: rename build step 2020-06-19 16:52:28 +03:00
Joonas Koivunen
a4857fa98d ci: split llvm install from vcpkg integrate 2020-06-18 01:21:10 +03:00
Joonas Koivunen
1f0e9505b1 ci: skip llvm install if openssl is cached 2020-06-18 01:13:20 +03:00
Joonas Koivunen
d56058a200 fix: use patched conformance tests
with patching we can run all of our outstanding work.
2020-06-17 17:27:05 +03:00
Joonas Koivunen
eafd1725f3 fix: remove llvm caching which doesnt work 2020-06-08 17:43:59 +03:00
Joonas Koivunen
f5c71401c7 fix: cache openssl build on windows
also attempt to cache llvm as well, but apparently that does not work
and chocolatey ends up downloading the same 160MB either way.
2020-06-08 16:59:41 +03:00
Joonas Koivunen
bde3f44e88 fix: FUNDING.yml org name 2020-06-08 14:15:30 +03:00
Mark Robert Henderson
b6583f5cb3
Update conformance.yml 2020-05-26 13:16:25 -04:00
Mark Robert Henderson
5938360078 Update ci.yml
Update ci.yml

Create conformance.yml

Update conformance.yml

updating conformance.yml
2020-05-26 13:03:15 -04:00
Joonas Koivunen
53f28c7c7e chore: enable clippy for workspace 2020-04-16 16:40:40 +03:00
Joonas Koivunen
771f376192 fix: require Cargo.lock is up to date with ci builds 2020-04-15 09:54:53 -04:00
Joonas Koivunen
4141cdb844 fix: build examples and tests on non-cross platforms 2020-04-15 09:54:53 -04:00
Joonas Koivunen
ebcb230d6b refactor: rename rust-ipfs-http to ipfs-http 2020-03-17 11:14:03 +02:00
Mark Robert Henderson
8aed3a1680 Switching to 64 bit iOS target 2020-03-13 09:37:44 +02:00
Mark Robert Henderson
46da1de240
Update pull-request-template.md 2020-03-12 14:13:45 -04:00
Mark Robert Henderson
d35ff20df2
Update pull-request-template.md 2020-03-12 14:13:12 -04:00
Mark Henderson
ac46443527 Adding pull request template 2020-03-12 14:06:59 -04:00
Joonas Koivunen
e5c7c084ca fix: try fix build by fixing excludes, restore cross
In addition to typoing the http crate name again I managed to remove
cross compilation on the non-android cross compilation targets.
2020-03-12 16:30:36 +02:00
Joonas Koivunen
051d68679f fix: try disabling http on cross compilation targets
this is because I don't know how to install openssl in a cross
compilable way with brew/apt-get.
2020-03-12 16:30:36 +02:00
Joonas Koivunen
18a9378d8d fix: try with correct libssl-dev package name 2020-03-12 16:30:36 +02:00
Joonas Koivunen
08db1c5db8 fix: try fix android, mac with explicit deps
apparently these images have the openssl installed on some hosts.
2020-03-12 16:30:36 +02:00
Joonas Koivunen
27954348b9 fix: try setting VCPKGRS_DYNAMIC for windows build 2020-03-12 16:30:36 +02:00
Joonas Koivunen
c04e46ccb1 fix: try fixing ci on windows
copied openssl vcpkg magic from 53ff3ad099/.github/workflows/windows.yml
2020-03-12 16:30:36 +02:00
Joonas Koivunen
5fa57dd06a fix: ci stop using actions/checkout@v1
with the https://github.com/ipfs-rust/rust-ipfs/pull/85 there were first
some spurious failures on windows (probably transient gh infra issues)
and later we noticed that the checkout action on lint-rust and
readme-doctest was failing.

I noticed the checkout action on the failing jobs were using an older
version of the failing action than the matrix action which succeeded.
tried to upgrade that and it worked, didn't look further.
2020-03-11 13:07:57 +02:00
David Craven
b9e1444ef9 Enable android and ios in ci. 2020-03-06 17:38:37 +01:00