snmalloc/ci
Paul Liétar 0f5cc165e8
Don't require 16-byte CAS on x86. (#173)
* Don't require 16-byte CAS on x86.

We only need to CAS 2 pointers, which is always possible on x86.

* Fix the way the Image variable is referenced.

* Replace failOnStderr by `set -eo pipefail` on Linux.

The x86 image doesn't have clangformat, which causes cmake to print a
warning on the stderr. Exit codes should be enough to detect failure.

* Use x86 images from snmallocciteam.

* clang-format
2020-04-16 07:33:02 +01:00
..
scripts ARM CI (#148) 2020-03-20 08:07:12 +00:00
README.md Add CI README, explaining how to update docker images (#162) 2020-04-03 08:27:50 +01:00
linux_arm64 ARM CI (#148) 2020-03-20 08:07:12 +00:00
linux_armhf CI for both arms (#151) 2020-03-20 09:17:38 +00:00
linux_x64 Containerise Linux build (#145) 2020-03-19 09:28:06 +00:00
linux_x86 Don't require 16-byte CAS on x86. (#173) 2020-04-16 07:33:02 +01:00

README.md

Keeping CI images up to date

Re-building an image after updating the docker file

Run docker build -t snmallocciteam/$IMG:latest -f ci/$IMG . from the root of the repo, where $IMG is the image you want to rebuild, for example build_linux_x64

If you are building a multiarch image, ie. an image targeting an architecture other than the one you are running, you will need to install the qemu handler before you can build: sudo docker run --rm --privileged multiarch/qemu-user-static:register --reset

Pushing the updated docker image to Docker Hub

Run docker push snmallocciteam/$IMG:latest

Permissions

You must be part of the snmalloc ci team to push updated images. Contact @mjp41, or @achamayou to be given access.