Skip to content

Commit 331e1cb

Browse files
fix: Comment some code blocks for testing
1 parent 0608bc6 commit 331e1cb

2 files changed

Lines changed: 44 additions & 45 deletions

File tree

.github/workflows/linux_dev_ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
- name: Checkout code
1313
uses: actions/checkout@v4
1414

15-
- name: Install requirements depdendencies
16-
shell: bash
17-
run: |
18-
chmod +x ./scripts/ci_dev_linux.sh
19-
./scripts/ci_dev_linux.sh install-base
15+
# - name: Install requirements depdendencies
16+
# shell: bash
17+
# run: |
18+
# chmod +x ./scripts/ci_dev_linux.sh
19+
# ./scripts/ci_dev_linux.sh install-base
2020

2121
- name: Create build dir
2222
shell: bash

scripts/ci_dev_linux.sh

Lines changed: 39 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
22
build_dir="build"
3-
qt_src_dir="qt-src"
3+
44
qt_build_dir="qt-build"
55
qt_install_dir="/opt/qt-static"
6-
qt_version="6.5.3"
6+
qt_version="6.9.1"
77
release_flags="-DCMAKE_BUILD_TYPE=Release"
88
opt_flags="-O3 -march=native -flto -funroll-loops -fomit-frame-pointer -fstrict-aliasing -ftree-vectorize -fvisibility=hidden"
99
nproc=$(nproc)
@@ -28,16 +28,14 @@ install_base() {
2828
}
2929

3030
download_qt_source() {
31+
local qt_src_dir="qt-src"
32+
3133
echo "Downloading Qt source..."
3234
mkdir -p "$qt_src_dir"
3335
cd "$qt_src_dir" || exit
3436

35-
if [ -f "qt-everywhere-src-${qt_version}.tar.xz" ]; then
36-
echo "Qt source already downloaded."
37-
else
38-
wget "https://download.qt.io/official_releases/qt/$(echo $qt_version | cut -d. -f1-2)/${qt_version}/single/qt-everywhere-src-${qt_version}.tar.xz"
39-
tar xf "qt-everywhere-src-${qt_version}.tar.xz"
40-
fi
37+
wget "https://download.qt.io/official_releases/qt/$(echo $qt_version | cut -d. -f1-2)/${qt_version}/single/qt-everywhere-src-${qt_version}.tar.xz"
38+
tar xf "qt-everywhere-src-${qt_version}.tar.xz"
4139

4240
cd ..
4341
}
@@ -46,39 +44,40 @@ build_static_qt() {
4644
echo "Building static Qt..."
4745
mkdir -p "$qt_build_dir"
4846
cd "$qt_build_dir" || exit
47+
ls
4948

50-
cmake "$qt_src_dir/qt-everywhere-src-$qt_version" \
51-
-G "Ninja" \
52-
-DCMAKE_BUILD_TYPE=Release \
53-
-DCMAKE_INSTALL_PREFIX="$qt_install_dir" \
54-
-DCMAKE_C_COMPILER=clang \
55-
-DCMAKE_CXX_COMPILER=clang++ \
56-
-DCMAKE_CXX_FLAGS="$opt_flags" \
57-
-DBUILD_SHARED_LIBS=OFF \
58-
-DFEATURE_static=ON \
59-
-DFEATURE_static_runtime=ON \
60-
-DFEATURE_reduce_exports=ON \
61-
-DFEATURE_opengl=desktop \
62-
-DFEATURE_system_png=OFF \
63-
-DFEATURE_system_jpeg=OFF \
64-
-DFEATURE_system_zlib=OFF \
65-
-DFEATURE_fontconfig=ON \
66-
-DFEATURE_harfbuzz=ON \
67-
-DFEATURE_xcb=ON \
68-
-DFEATURE_xkbcommon=ON \
69-
-DFEATURE_ssl=ON \
70-
-DFEATURE_widgets=ON \
71-
-DFEATURE_gui=ON \
72-
-DFEATURE_network=ON \
73-
-DFEATURE_concurrent=ON \
74-
-DFEATURE_xml=ON \
75-
-DQT_FEATURE_optimize_size=ON \
76-
-DQT_FEATURE_pkg_config=OFF \
77-
-DQT_FEATURE_separate_debug_info=OFF \
78-
-DQT_FEATURE_strip=ON \
79-
-DQT_BUILD_EXAMPLES=OFF \
80-
-DQT_BUILD_TESTS=OFF \
81-
-DQT_SKIP_MODULES=qtwebengine
49+
# cmake "$qt_src_dir/qt-everywhere-src-$qt_version" \
50+
# -G "Ninja" \
51+
# -DCMAKE_BUILD_TYPE=Release \
52+
# -DCMAKE_INSTALL_PREFIX="$qt_install_dir" \
53+
# -DCMAKE_C_COMPILER=clang \
54+
# -DCMAKE_CXX_COMPILER=clang++ \
55+
# -DCMAKE_CXX_FLAGS="$opt_flags" \
56+
# -DBUILD_SHARED_LIBS=OFF \
57+
# -DFEATURE_static=ON \
58+
# -DFEATURE_static_runtime=ON \
59+
# -DFEATURE_reduce_exports=ON \
60+
# -DFEATURE_opengl=desktop \
61+
# -DFEATURE_system_png=OFF \
62+
# -DFEATURE_system_jpeg=OFF \
63+
# -DFEATURE_system_zlib=OFF \
64+
# -DFEATURE_fontconfig=ON \
65+
# -DFEATURE_harfbuzz=ON \
66+
# -DFEATURE_xcb=ON \
67+
# -DFEATURE_xkbcommon=ON \
68+
# -DFEATURE_ssl=ON \
69+
# -DFEATURE_widgets=ON \
70+
# -DFEATURE_gui=ON \
71+
# -DFEATURE_network=ON \
72+
# -DFEATURE_concurrent=ON \
73+
# -DFEATURE_xml=ON \
74+
# -DQT_FEATURE_optimize_size=ON \
75+
# -DQT_FEATURE_pkg_config=OFF \
76+
# -DQT_FEATURE_separate_debug_info=OFF \
77+
# -DQT_FEATURE_strip=ON \
78+
# -DQT_BUILD_EXAMPLES=OFF \
79+
# -DQT_BUILD_TESTS=OFF \
80+
# -DQT_SKIP_MODULES=qtwebengine
8281
# qtwebengine;\
8382
# qt3d;qt5compat;qtactiveqt;qtcharts;\
8483
# qtconnectivity;qtdatavis3d;qtdoc;\

0 commit comments

Comments
 (0)