File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 40
40
-D CMAKE_BUILD_TYPE=Release
41
41
cmake --build build-amd64 --parallel --config Release
42
42
43
+ - name : Set up QEMU
44
+ uses : docker/setup-qemu-action@v2
45
+ with :
46
+ platforms : arm64
47
+
48
+ - name : Set up Docker Buildx
49
+ uses : docker/setup-buildx-action@v2
50
+
51
+ - name : Build for Linux arm64
52
+ run : |
53
+ sudo docker run \
54
+ --rm \
55
+ --platform linux/arm64 \
56
+ -v /tmp/qt:/tmp/qt \
57
+ -v `pwd`:/tmp/qtapp \
58
+ arm64v8/ubuntu:22.04 \
59
+ bash -c '
60
+ cd /tmp/qtapp
61
+ apt-get update -y
62
+ apt-get install -y build-essential ninja-build patchelf libfuse2
63
+ chmod +x /tmp/qt/'"$QT_VERSION"'/gcc_arm64/bin/qt-cmake
64
+ /tmp/qt/'"$QT_VERSION"'/gcc_arm64/bin/qt-cmake \
65
+ -S . \
66
+ -B build-arm64 \
67
+ -G Ninja \
68
+ -D CMAKE_BUILD_TYPE=Release
69
+ cmake --build build-arm64 --parallel --config Release
70
+ '
71
+
43
72
- name : Publish build artifacts
44
73
uses : marvinpinto/action-automatic-releases@latest
45
74
with :
You can’t perform that action at this time.
0 commit comments