Add support for uv and simplify docker tests

This commit is contained in:
Philippe Teuwen committed 2025-11-04 01:01:02 +01:00
1 parent ca3795342f
commit d1a093ec94
36 files changed
+72 -146

No files matched your search

+4 -3
View File
@@ -5,9 +5,7 @@ RUN pacman -Syu --noconfirm
RUN pacman-db-upgrade
# qt5-base skipped
# bluez skipped, can't be installed in docker
RUN pacman -S --noconfirm sudo git base-devel cmake libusb readline bzip2 lz4 gd arm-none-eabi-gcc arm-none-eabi-newlib python --needed
RUN pacman -S --noconfirm python-pip
RUN pacman -S --noconfirm sudo git base-devel cmake libusb readline bzip2 lz4 gd arm-none-eabi-gcc arm-none-eabi-newlib --needed
# OpenCL for hitag2crack
RUN pacman -S --noconfirm ocl-icd
@@ -23,6 +21,9 @@ RUN if [ -n "${UART_GID}" ]; then \
fi
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
# uv
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
USER rrg
WORKDIR "/home/rrg"
-5
View File
@@ -48,10 +48,5 @@ Or if you want to run single test,
```
make clean; make -j
python3 -m venv /tmp/venv
source /tmp/venv/bin/activate
python3 -m pip install --use-pep517 pyaes
python3 -m pip install ansicolors sslcrypto
tools/pm3_tests.sh --long
deactivate
```
-5
View File
@@ -39,9 +39,4 @@ pacman -Ss '^gcc$'
# sudo pacman -S testing/gcc
# sudo pacman -S gcc
python3 -m venv /tmp/venv
source /tmp/venv/bin/activate
python3 -m pip install --use-pep517 pyaes
python3 -m pip install ansicolors sslcrypto
tools/release_tests.sh
deactivate