qt6: some CI & docker tuning
This commit is contained in:
1 parent
3f20408b75
commit
9323db291d
4 files changed
+13
-3
No files matched your search
@@ -30,7 +30,7 @@ jobs:
|
|||||||
run: sudo apt-get update
|
run: sudo apt-get update
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get install -yqq make autoconf build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qt6-base-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.4-dev liblua5.4-0 lua5.4 sed libssl-dev libgd-dev
|
run: sudo apt-get install -yqq make autoconf build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qt6-base-dev qmake6-bin libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.4-dev liblua5.4-0 lua5.4 sed libssl-dev libgd-dev
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: pip install -r tools/requirements.txt
|
run: pip install -r tools/requirements.txt
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
run: sudo apt-get update
|
run: sudo apt-get update
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get install -yqq make autoconf build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qt6-base-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.4-dev liblua5.4-0 lua5.4 sed libssl-dev libgd-dev
|
run: sudo apt-get install -yqq make autoconf build-essential ca-certificates pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev qt6-base-dev qmake6-bin libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev python3 python3-dev libpython3-all-dev liblua5.4-dev liblua5.4-0 lua5.4 sed libssl-dev libgd-dev
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: pip install -r tools/requirements.txt
|
run: pip install -r tools/requirements.txt
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ else
|
|||||||
BUILDARG=""
|
BUILDARG=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$SKIPQT" ]; then
|
||||||
|
BUILDARG="$BUILDARG --build-arg SKIPQT=$SKIPQT"
|
||||||
|
fi
|
||||||
|
|
||||||
# For cross-platform support:
|
# For cross-platform support:
|
||||||
# cf https://github.com/multiarch/qemu-user-static
|
# cf https://github.com/multiarch/qemu-user-static
|
||||||
#sudo apt install qemu-user-static
|
#sudo apt install qemu-user-static
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ FROM debian:trixie-slim
|
|||||||
|
|
||||||
ENV LANG=C
|
ENV LANG=C
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
# qtbase5-dev skipped
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get upgrade -y && \
|
apt-get upgrade -y && \
|
||||||
apt-get dist-upgrade -y && \
|
apt-get dist-upgrade -y && \
|
||||||
@@ -12,6 +11,12 @@ RUN apt-get update && \
|
|||||||
RUN apt-get install -y opencl-dev && \
|
RUN apt-get install -y opencl-dev && \
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
||||||
|
ARG SKIPQT=false
|
||||||
|
RUN if [ "${SKIPQT}" = "false" ]; then \
|
||||||
|
apt-get install -y qt6-base-dev qmake6-bin && \
|
||||||
|
apt-get clean; \
|
||||||
|
fi
|
||||||
|
|
||||||
# uv
|
# uv
|
||||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
DOCKER_IMAGE=pm3-debian-trixie:1.0
|
DOCKER_IMAGE=pm3-debian-trixie:1.0
|
||||||
|
SKIPQT=1
|
||||||
Reference in new issue
Block a user