update daily_build.yml

This commit is contained in:
x-tools-author 2024-04-20 15:07:38 +00:00 committed by Gitee
parent 48bf86f3a8
commit a75e4dfce9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -18,23 +18,17 @@ stages:
- step: build@gcc
name: build_gcc
displayName: Build
gccVersion: '9.4'
gccVersion: '10.3'
commands:
- apt-get update --fix-missing -y
- apt-get install libgl1-mesa-dev -y
- apt-get install qtbase5-* -y
- qmake -v
- apt-get install libqt5charts5* -y
- apt-get install libqt5serialbus5* -y
- apt-get install libqt5websockets5* -y
- apt-get install libqt5serialport5* -y
- mkdir buildqt5
- cd buildqt5
- ls /usr/lib/x86_64-linux-gnu/cmake/
- strip --remove-section=.note.ABI-tag /usr/lib64/libQt5Core.so.5
- cmake --version
- 'pip3 install aqtinstall '
- aqt install-qt linux desktop 6.5.3 gcc_64 -m qtcharts qtserialbus qtserialport
- ''
- cmake -DCMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu/cmake/Qt5 -DCMAKE_BUILD_TYPE:STRING=Release -G "CodeBlocks - Unix Makefiles" ../ -G "Unix Makefiles"
- cmake --build . --target QtSwissArmyKnife
- cmake --build . --target xTools
artifacts:
- name: BUILD_ARTIFACT
path: