From 5920c5c1365b215b239df9f7ba0ae99ecc75c5af Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 23 Jul 2022 16:16:08 +0000 Subject: [PATCH] Update scripts README `coredeps` dockerfile is not outdated. Add `run_all.sh` description. --- scripts/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/README.md b/scripts/README.md index b306521d5..2036d9fc7 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -16,12 +16,13 @@ and an own build machine. - `run-doxygen.sh` generates C-docs which are then uploaded to https://c.delta.chat/ +- `run_all.sh` builds Python wheels ## Triggering runs on the build machine locally (fast!) There is experimental support for triggering a remote Python or Rust test run from your local checkout/branch. You will need to be authorized to login to -the build machine (ask your friendly sysadmin on #deltachat Libera Chat) to type:: +the build machine (ask your friendly sysadmin on #deltachat Libera Chat) to type: scripts/manual_remote_tests.sh rust scripts/manual_remote_tests.sh python @@ -29,19 +30,18 @@ the build machine (ask your friendly sysadmin on #deltachat Libera Chat) to type This will **rsync** your current checkout to the remote build machine (no need to commit before) and then run either rust or python tests. -# Outdated files (for later re-use) +# coredeps Dockerfile `coredeps/Dockerfile` specifies an image that contains all -of Delta Chat's core dependencies. It used to run -python tests and build wheels (binary packages for Python) +of Delta Chat's core dependencies. It is used to +build python wheels (binary packages for Python). You can build the docker images yourself locally -to avoid the relatively large download:: +to avoid the relatively large download: cd scripts # where all CI things are - docker build -t deltachat/coredeps docker-coredeps - docker build -t deltachat/doxygen docker-doxygen + docker build -t deltachat/coredeps coredeps -Additionally, you can install qemu and build arm64 docker image: +Additionally, you can install qemu and build arm64 docker image on x86\_64 machine: apt-get install qemu binfmt-support qemu-user-static - docker build -t deltachat/coredeps-arm64 docker-coredeps-arm64 + docker build -t deltachat/coredeps-arm64 --build-arg BASEIMAGE=quay.io/pypa/manylinux2014_aarch64 coredeps