File tree 3 files changed +37
-2
lines changed
3 files changed +37
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Build
2
2
3
3
on :
4
4
push :
5
- branches : [ qt6_porting ]
5
+ branches : [ master ]
6
6
7
7
jobs :
8
8
build :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Docker dev build
2
2
3
3
on :
4
4
push :
5
- branches : [ qt6_porting ]
5
+ branches : [ master ]
6
6
7
7
env :
8
8
# Use docker.io for Docker Hub if empty
Original file line number Diff line number Diff line change
1
+ FROM debian:bookworm as builder
2
+
3
+ ENV DEBIAN_FRONTEND noninteractive
4
+
5
+ ENV HOME /opt
6
+ RUN mkdir -p $HOME /build /opt
7
+
8
+ # required packages
9
+ RUN apt-get update -qq && \
10
+ apt-get install -y build-essential wget git curl qt6-base-dev \
11
+ qt6-5compat-dev qt6-declarative-dev qt6-svg-dev qt6-virtualkeyboard-dev \
12
+ qt6-webchannel-dev qt6-websockets-dev qt6-webview-dev qt6-shadertools-dev \
13
+ libxext-dev xorg-dev qt6-l10n-tools
14
+
15
+ RUN git clone https://github.com/calaos/calaos_mobile.git
16
+
17
+ RUN cd calaos_mobile && mkdir -p build && cd build && \
18
+ qmake6 ../desktop.pro && \
19
+ make -j$(nproc) PREFIX=/opt && \
20
+ make install
21
+
22
+ # Clean up APT when done.
23
+ RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /build/*
24
+
25
+ FROM debian:bookworm-slim as runner
26
+
27
+ RUN apt-get update -qq && \
28
+ apt-get install -y xserver-xorg xkb-data xinit xfonts-base xfonts-scalable xfonts-75dpi xfonts-100dpi libxext6 \
29
+ x11-xkb-utils x11-xserver-utils xauth \
30
+ libqt6core6 libqt6gui6 \
31
+ libqt6network6 libqt6qml6 \
32
+ libqt6quick6 \
33
+ qml6-module-qtquick-virtualkeyboard
34
+
35
+ COPY --from=builder /opt /opt
You can’t perform that action at this time.
0 commit comments