mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Add a job for building on linux with 7zip support
This commit is contained in:
parent
cff2407ffd
commit
99792e80a8
@ -110,6 +110,36 @@ jobs:
|
||||
make check TESTARGS="-maxwarnings 100000"
|
||||
displayName: 'Run tests'
|
||||
|
||||
#
|
||||
# Linux qt6 7zip
|
||||
#
|
||||
|
||||
- job: Linux_qt6_7zip
|
||||
timeoutInMinutes: 90
|
||||
dependsOn: CodeFormatValidation
|
||||
pool:
|
||||
vmImage: 'ubuntu-22.04'
|
||||
steps:
|
||||
- script: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y qtchooser qt6-tools-dev qt6-base-dev-tools qmake6 qmake6-bin \
|
||||
qt6-base-dev qt6-multimedia-dev qt6-tools-dev-tools libgl-dev qt6-l10n-tools \
|
||||
libqt6opengl6-dev libunarr-dev qt6-declarative-dev libqt6svg6-dev libqt6core5compat6-dev
|
||||
mkdir $(Build.SourcesDirectory)\compressed_archive
|
||||
wget "https://github.com/YACReader/yacreader-7z-deps/blob/main/7z2301-src.7z?raw=true" -O $(Build.SourcesDirectory)/compressed_archive/7z2301-src.7z
|
||||
7z x $(Build.SourcesDirectory)/compressed_archive/7z2301-src.7z -o$(Build.SourcesDirectory)/compressed_archive/lib7zip
|
||||
displayName: 'Install dependencies'
|
||||
- script: |
|
||||
qtchooser -list-versions
|
||||
export DEFINES_VAR=DEFINES+\=\"BUILD_NUMBER=\\\\\\\"$(Build.BuildNumber)\\\\\\\"\"
|
||||
qmake6 CONFIG+="7zip no_pdf" $DEFINES_VAR
|
||||
qmake6 -v
|
||||
make
|
||||
displayName: 'Build'
|
||||
- script: |
|
||||
make check TESTARGS="-maxwarnings 100000"
|
||||
displayName: 'Run tests'
|
||||
|
||||
#
|
||||
# MacOS qt6(intel)
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user