26 Commits

Author SHA1 Message Date
Daniel Hofstetter 2be465a572 Revert "fix: replace apt with apt-get in scripts"
This reverts commit 6f939edb72.
2026-04-16 07:16:50 +02:00
xtqqczze 6f939edb72 fix: replace apt with apt-get in scripts
fix warning:

```
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
```
2026-04-14 22:56:39 +02:00
Daniel Hofstetter 1ce8990141 ci/android: use --locked when installing nextest (#10467) 2026-01-24 19:33:55 +01:00
oech3 913fe84224 Avoid mixing wget and curl 2025-11-13 23:58:11 +09:00
Justin Tracey 5882304dcd Fix Android CI (#6580)
* android CI: get termux user from emulator

* stat: fix android builds
2024-07-18 09:45:00 +02:00
Ulrich Hornung 5d763358fa android CI: incremental install when retry 2024-04-26 12:07:35 +02:00
Ulrich Hornung f3bbf53412 improve debug info provided by CI 2024-03-23 16:36:01 +01:00
Ulrich Hornung 263a16317b workaround: run builds with retry (a) 2024-02-25 19:09:26 +01:00
Ulrich Hornung 93d922f075 squash commit 2024-02-03 17:08:39 +01:00
kralo 9ae5cc741b util: disable mirror selection by Variable 2024-01-28 08:56:08 +01:00
Laurent Cheylus 6d3345cfec util: use env to call bash in shell scripts
- For shell scripts using bash, use #!/usr/bin/env bash instead of #!/bin/bash.
    On some OS, bash is not the default shell and is not installed as /bin/bash

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-01-02 22:05:02 +01:00
Sylvestre Ledru ada1df2e8e android: try to use nextest again 2023-05-06 10:50:04 +02:00
Sylvestre Ledru bbb218c0e2 Remove bad c/p 2023-04-30 17:21:34 +02:00
Sylvestre Ledru 1055918c31 Document why we can't use nextest for now 2023-04-30 16:58:29 +02:00
Sylvestre Ledru ba8fa58a9a android: increase the retries + sleep 2023-04-29 19:49:44 +02:00
Sylvestre Ledru ffa2118717 add debug info 2023-04-29 12:47:48 +02:00
Sylvestre Ledru 0c9c54275e simplify it 2023-04-29 12:37:08 +02:00
Sylvestre Ledru 6f44d9b7af android: use cargo test instead of nextest
nextest does build because of:

2023-04-29T08:03:36.5411530Z Compiling log v0.4.17
2023-04-29T08:03:36.5412100Z error[E0432]: unresolved import linux_raw_sys::ioctl
2023-04-29T08:03:36.5412710Z --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1285ae84e5963aae/rustix-0.37.17/src/backend/libc/io/syscalls.rs:384:24
2023-04-29T08:03:36.5413150Z |
2023-04-29T08:03:36.5413830Z 384 | use linux_raw_sys::ioctl::EXT4_IOC_RESIZE_FS;
2023-04-29T08:03:36.5414380Z | could not find ioctl in linux_raw_sys
2023-04-29T08:03:36.5414590Z
2023-04-29T08:03:36.5414840Z For more information about this error, try rustc --explain E0432.
2023-04-29T08:03:36.5415280Z error: could not compile rustix due to previous error
2023-04-29T08:03:36.5415730Z warning: build failed, waiting for other jobs to finish...

https://github.com/nextest-rs/nextest/issues/862
2023-04-29 10:56:14 +02:00
Joining7943 ad5d33f1a9 ci/android: Fix and improve caching. Fix and improve android-commands.sh 2023-04-20 17:36:25 +02:00
Joining7943 f155185df6 util/android-commands: Fix shellcheck warnings. Reformat file. 2023-04-20 16:48:15 +02:00
Joining7943 037aaf0a36 android-commands.sh: Reformat file with shftm 2023-04-19 22:06:12 +02:00
Joining7943 78ce521c01 ci: Use nextest as test runner instead of cargo test 2023-04-19 22:06:06 +02:00
Joining7943 ccfc799b46 CI/tests: Run cargo test with RUST_BACKTRACE=1 2023-01-01 18:36:02 +01:00
Niyaz Nigmatullin 84abf9c920 CI/android: add 60 min timeout for cargo test to see where it's stuck 2022-08-24 08:21:24 +03:00
Sylvestre Ledru ece9ccdbfb Add missing \# interpreter line 2022-05-10 13:49:52 +02:00