Commit Graph

37 Commits

Author SHA1 Message Date
Jean-Christophe Fillion-Robin
abc164e7c6
circleci-matrix: Push images as part of the test step
To workaround, CircleCI limitation [1]:

"Please note that since we do not support parallel deployment, specifying
‘parallel:true’ in the deployment phase will cause an error."

This commit moves the deployment step as the last action of the test
step. Doing so will ensure, every container will take care of pushing
images it was responsible to build.

[1] https://circleci.com/docs/parallel-manual-setup/#simple-example
2016-11-26 17:54:17 -05:00
Jean-Christophe Fillion-Robin
68393166b9
circleci-matrix: Increase timeout associated with deployment step 2016-11-26 12:50:33 -05:00
Jean-Christophe Fillion-Robin
6018cc6241
ci: Split building and waiting for base image into its own command
This should help reduce the overall time associated with the test step
and avoid reaching the 120mins cutoff time for a given command.
2016-11-25 18:12:00 -05:00
Jean-Christophe Fillion-Robin
1e4de86ca6
ci: Optimize parallel build
* style: Rename TASK to STEP
* do not pull base image after it was copied from node0 and loaded.
  It caused the current Dockerfile to be out-of-sync with the current image.
* do not pull images after loading the downloaded and up-to-date
  base.tar. It was overwriting the base.tar downloaded and loaded.
* save debian:jessie into base.tar
* use "time" command to help identify long running operation
* rename marker file from "BASE_READY" to "BASE_AVAILABLE"
* build base image only if needed.
2016-11-25 18:12:00 -05:00
Jean-Christophe Fillion-Robin
b5c2221288
Revert "Merge pull request #80 from jcfr/revert-circleci-parallel"
This reverts commit 2f31a84e65, reversing
changes made to e120e36824.
2016-11-25 18:11:21 -05:00
Jean-Christophe Fillion-Robin
fd9f2719e3
Revert "Merge pull request #75 from jcfr/circleci-parallel-build"
Waiting we address the timeout of command after 120min when using
parallel containers, this reverts commit e120e36824, reversing
changes made to 6a4826a8df.

Issue has been reported to CircleCI support as
https://circleci.zendesk.com/hc/en-us/requests/13273
2016-11-23 22:02:35 -05:00
Jean-Christophe Fillion-Robin
cfd1921127
ci: Enable parallel build using circleci-matrix
The base image is built on the container 0. In the mean time, the other
containers wait for the base image to be ready.
2016-11-19 18:03:16 -05:00
Jean-Christophe Fillion-Robin
cf3cec8819
circle: Fix error in dependencies/override - Add missing 'done' 2016-09-26 10:14:27 -04:00
Jean-Christophe Fillion-Robin
79938b37e5
circle.yml: Simplify reusing 'display_images' target 2016-09-25 23:55:17 -04:00
Matt McCormick
1354fe2586 manylinux-x86: Initial addition 2016-09-24 23:14:33 -04:00
Matt McCormick
daafa314f6 circleci: Cache Docker images 2016-09-21 09:49:05 -04:00
Matt McCormick
5d90a72dfc manylinux-x64: Initial addition 2016-09-20 18:07:58 -04:00
Matt McCormick
24c0141bea ci: Fix make *.test invocation 2016-07-16 13:55:04 -04:00
Jean-Christophe Fillion-Robin
3c25505f52 Makefile: Add test targets
This commits add test targets for all images, this will facilitate local
testing.

In addition to the usual targets:

  make android-arm
  make browser-asmjs
  [...]

the following targets are now available:

  make tests
  make android-arm.test
  make browser-asmjs.test
  [...]

Note that the target "all" has been renamed into "images"
2016-07-16 02:45:23 -04:00
Jean-Christophe Fillion-Robin
a082610bf6 circle/linux-armv7: Fix test
This commit fixes a regression introduced in e8830e9
2016-07-16 02:35:17 -04:00
Jean-Christophe Fillion-Robin
f02cc5632b circle/linux-arm64: Fix path emulator
This commit fixes a regression introduced in e76eb01
2016-07-16 02:35:17 -04:00
Matt McCormick
04c7d0de18 Rename project and repository to dockcross 2016-07-15 23:46:08 -04:00
Matt McCormick
a5c84b842f arm64: Initial addition 2016-07-15 17:39:33 -04:00
Matt McCormick
e8830e9641 circleci: Use the dockcross script 2016-07-05 21:45:35 -04:00
Matt McCormick
4c8658f652 Merge branch 'dockcross-default-image' 2016-07-04 21:32:19 -04:00
Matt McCormick
fdb18671e3 dockcross: make the default image specific to each compiler 2016-07-04 00:10:36 -04:00
Matt McCormick
98e5758770 linux-armv5: Add CircleCI testing 2016-06-12 20:10:57 -04:00
Roman Valls Guimera
4a05d28a11 Try to avoid docker/circleci btrfs issues. 2016-05-30 22:58:43 +02:00
Roman Valls Guimera
7e6150cf29 Tidy up and consolidate both README.rst/README.md into one. Introduce linux-armv5. 2016-05-30 22:50:22 +02:00
Matt McCormick
b2d25e9a57 windows-x86: Add CircleCI testing. 2016-04-16 21:37:33 -04:00
Matt McCormick
5035a9a8e7 windows-x64: Add CircleCI testing. 2016-04-12 23:31:09 -04:00
Matt McCormick
af5c3fecec linux-x86: Update and add testing. 2016-04-06 16:48:12 -04:00
Matt McCormick
9606baa5a1 linux-x64: Add CircleCI testing. 2016-03-28 12:47:01 -04:00
Matt McCormick
279f41ba56 linux-ppc64le: Add CircleCI testing. 2016-03-20 18:24:32 -04:00
Matt McCormick
5c7abec2c4 doc: Add linux-armv7 description. 2016-03-18 18:21:43 -04:00
Matt McCormick
8a21e98e63 linux-armv7: Add CircleCI testing and environmental vars. 2016-03-18 18:20:04 -04:00
Matt McCormick
c59293437d linux-armv6: Add CircleCI testing. 2016-03-14 17:54:40 -04:00
Matt McCormick
5420fc0543 browser-asmjs: Add CircleCI testing. 2016-03-12 21:26:41 -05:00
Matt McCormick
609605b1c5 android-arm: Test and deploy with CircleCI.
Although adding

  --emulator /usr/bin/qemu-arm -b CMake --linker-flags="-static"

To the test command works locally, the CMake tests fail on CircleCI. May this
is due to a kernel difference? Will investigate adding again later after
CircleCI updates in kernel (it is currently Ubuntu 12.04).

The "-static" linker flag used during testing is explained here:

  https://www.kitware.com/blog/home/post/893
2016-03-07 11:25:49 -05:00
Matt McCormick
412f5ebb11 base: Test the toolchain. 2016-03-03 21:20:30 -05:00
Matt McCormick
ad06c037dd ci: Add DockerHub deployment. 2016-03-02 12:24:00 -05:00
Matt McCormick
7236d1f871 ci: Build base image. 2016-03-02 10:21:14 -05:00