mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
version: '1.0'
|
|
name: daily_build
|
|
displayName: daily_build
|
|
triggers:
|
|
trigger: manual
|
|
push:
|
|
branches:
|
|
precise:
|
|
- master
|
|
stages:
|
|
- name: stage-c55b27b6
|
|
displayName: BuildProjet
|
|
strategy: naturally
|
|
trigger: auto
|
|
executor:
|
|
- qsaker
|
|
steps:
|
|
- step: build@gcc
|
|
name: build_gcc
|
|
displayName: Build
|
|
gccVersion: '9.4'
|
|
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
|
|
- 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
|
|
artifacts:
|
|
- name: BUILD_ARTIFACT
|
|
path:
|
|
- ./bin
|
|
caches: []
|
|
notify: []
|
|
strategy:
|
|
retry: '0'
|