Update scripts README

`coredeps` dockerfile is not outdated.

Add `run_all.sh` description.
This commit is contained in:
link2xt
2022-07-23 16:16:08 +00:00
parent a60da6deac
commit 5920c5c136

View File

@@ -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-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!) ## Triggering runs on the build machine locally (fast!)
There is experimental support for triggering a remote Python or Rust test run 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 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 rust
scripts/manual_remote_tests.sh python 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 This will **rsync** your current checkout to the remote build machine
(no need to commit before) and then run either rust or python tests. (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 `coredeps/Dockerfile` specifies an image that contains all
of Delta Chat's core dependencies. It used to run of Delta Chat's core dependencies. It is used to
python tests and build wheels (binary packages for Python) build python wheels (binary packages for Python).
You can build the docker images yourself locally 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 cd scripts # where all CI things are
docker build -t deltachat/coredeps docker-coredeps docker build -t deltachat/coredeps coredeps
docker build -t deltachat/doxygen docker-doxygen
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 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