mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-18 23:04:03 +02:00
Compare commits
4 commits
cb13946e4f
...
7d19562cd2
Author | SHA1 | Date | |
---|---|---|---|
7d19562cd2 | |||
807bc88a68 | |||
2ef85d43d4 | |||
f2c0b194ad |
|
@ -50,6 +50,7 @@ linux_qt6_sonar_task_template: &LINUX_QT6_TASK_SONAR_TEMPLATE
|
||||||
- mkdir -pm 0700 $XDG_RUNTIME_DIR
|
- mkdir -pm 0700 $XDG_RUNTIME_DIR
|
||||||
- Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix &
|
- Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix &
|
||||||
- sleep 1
|
- sleep 1
|
||||||
|
- ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE"
|
||||||
- echo $PATH
|
- echo $PATH
|
||||||
- which qmake6
|
- which qmake6
|
||||||
- which qbs
|
- which qbs
|
||||||
|
@ -73,6 +74,7 @@ linux_qt6_sonar_task_template: &LINUX_QT6_TASK_SONAR_TEMPLATE
|
||||||
- find .. -name '*.o' | xargs gcov --preserve-paths
|
- find .. -name '*.o' | xargs gcov --preserve-paths
|
||||||
- cd $CIRRUS_WORKING_DIR
|
- cd $CIRRUS_WORKING_DIR
|
||||||
- sonar-scanner -Dsonar.scm.revision=${CIRRUS_CHANGE_IN_REPO} -Dsonar.links.ci=https://cirrus-ci.com/task/${CIRRUS_TASK_ID} -Dsonar.branch.name=${CIRRUS_BRANCH} -Dsonar.cfamily.gcov.reportsPath="${CIRRUS_WORKING_DIR}/build/coverage-dir"
|
- sonar-scanner -Dsonar.scm.revision=${CIRRUS_CHANGE_IN_REPO} -Dsonar.links.ci=https://cirrus-ci.com/task/${CIRRUS_TASK_ID} -Dsonar.branch.name=${CIRRUS_BRANCH} -Dsonar.cfamily.gcov.reportsPath="${CIRRUS_WORKING_DIR}/build/coverage-dir"
|
||||||
|
- ccache -s
|
||||||
|
|
||||||
linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
|
linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
|
||||||
install_script:
|
install_script:
|
||||||
|
|
13
appveyor.yml
13
appveyor.yml
|
@ -538,7 +538,7 @@ for:
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
#- /Users/appveyor/.conan/data -> conanfile.py
|
#- /Users/appveyor/.conan/data -> conanfile.py
|
||||||
- /Users/appveyor/cache_dir
|
- /Users/appveyor/brew_cache_dir
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
||||||
|
@ -596,7 +596,7 @@ for:
|
||||||
|
|
||||||
sudo ln -s /usr/local /opt/local;
|
sudo ln -s /usr/local /opt/local;
|
||||||
|
|
||||||
cache_tag=usr_local_4 # this can be modified to rebuild deps
|
cache_tag=usr_local # this can be modified to rebuild deps
|
||||||
|
|
||||||
cdir=$HOME/cache_dir
|
cdir=$HOME/cache_dir
|
||||||
cache_tar=$cdir/$cache_tag.tar
|
cache_tar=$cdir/$cache_tag.tar
|
||||||
|
@ -655,11 +655,6 @@ for:
|
||||||
- which qmake
|
- which qmake
|
||||||
- which qbs
|
- which qbs
|
||||||
- qbs --version
|
- qbs --version
|
||||||
# Patch Qbs. Remove after Qbs 2.2.1+.
|
|
||||||
- curl https://gist.githubusercontent.com/dismine/43f3c51e05f3317c5d4fe16cd3c4b6d8/raw/2d297bcb53c2c022f740509923adf1eb1796afe2/qbs-pkg-config-probe.patch --output $HOME/qbs-pkg-config-probe.patch --silent
|
|
||||||
- patch -N -d $(brew --prefix qbs)/ -p1 < $HOME/qbs-pkg-config-probe.patch || true
|
|
||||||
- rm -f $(brew --prefix qbs)/share/qbs/imports/qbs/Probes/qbs-pkg-config-probe.js.rej
|
|
||||||
- rm $HOME/qbs-pkg-config-probe.patch
|
|
||||||
- /usr/bin/curl -LJ https://github.com/dismine/macdeployqt/archive/refs/heads/main.zip --output ${HOME}/macdeployqt-main.zip --silent
|
- /usr/bin/curl -LJ https://github.com/dismine/macdeployqt/archive/refs/heads/main.zip --output ${HOME}/macdeployqt-main.zip --silent
|
||||||
- unzip ${HOME}/macdeployqt-main.zip -d ${HOME}
|
- unzip ${HOME}/macdeployqt-main.zip -d ${HOME}
|
||||||
- cmake ${HOME}/macdeployqt-main -GNinja -S ${HOME}/macdeployqt-main -B ${HOME}/macdeployqt-build-dir -DCMAKE_INSTALL_PREFIX=${HOME}/macdeployqt-install-dir -DCMAKE_BUILD_TYPE=Release
|
- cmake ${HOME}/macdeployqt-main -GNinja -S ${HOME}/macdeployqt-main -B ${HOME}/macdeployqt-build-dir -DCMAKE_INSTALL_PREFIX=${HOME}/macdeployqt-install-dir -DCMAKE_BUILD_TYPE=Release
|
||||||
|
@ -726,7 +721,7 @@ for:
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
#- /Users/appveyor/.conan/data -> conanfile.py
|
#- /Users/appveyor/.conan/data -> conanfile.py
|
||||||
- /Users/appveyor/cache_dir
|
- /Users/appveyor/brew_cache_dir
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
||||||
|
@ -785,7 +780,7 @@ for:
|
||||||
|
|
||||||
sudo ln -s /usr/local /opt/local;
|
sudo ln -s /usr/local /opt/local;
|
||||||
|
|
||||||
cache_tag=usr_local_3 # this can be modified to rebuild deps
|
cache_tag=usr_local # this can be modified to rebuild deps
|
||||||
|
|
||||||
cdir=$HOME/cache_dir
|
cdir=$HOME/cache_dir
|
||||||
cache_tar=$cdir/$cache_tag.tar
|
cache_tar=$cdir/$cache_tag.tar
|
||||||
|
|
|
@ -131,7 +131,7 @@ def run_clean(refresh_token):
|
||||||
sys.exit("ERROR: Invalid access token; try re-generating an "
|
sys.exit("ERROR: Invalid access token; try re-generating an "
|
||||||
"access token from the app console on the web.")
|
"access token from the app console on the web.")
|
||||||
|
|
||||||
clean_folders = ["/0.7.x/Mac OS X", "/0.7.x/Windows"]
|
clean_folders = ["/0.7.x/Mac OS X", "/0.7.x/Windows", "/0.7.x/Linux"]
|
||||||
arhive_types = [r'^valentina-Windows10\+-mingw-x64-Qt.*-develop-[a-f0-9]{40}\.exe$',
|
arhive_types = [r'^valentina-Windows10\+-mingw-x64-Qt.*-develop-[a-f0-9]{40}\.exe$',
|
||||||
r'^valentina-Windows7\+-mingw-x86-Qt.*-develop-[a-f0-9]{40}\.exe$',
|
r'^valentina-Windows7\+-mingw-x86-Qt.*-develop-[a-f0-9]{40}\.exe$',
|
||||||
r'^valentina-Windows10\+-msvc-x64-Qt.*-develop-[a-f0-9]{40}\.exe$',
|
r'^valentina-Windows10\+-msvc-x64-Qt.*-develop-[a-f0-9]{40}\.exe$',
|
||||||
|
|
|
@ -188,6 +188,8 @@ void VAbstractConverter::ValidateXML(const QString &schema) const
|
||||||
|
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||||
XERCES_CPP_NAMESPACE::XercesDOMParser domParser;
|
XERCES_CPP_NAMESPACE::XercesDOMParser domParser;
|
||||||
|
domParser.setCreateEntityReferenceNodes(true);
|
||||||
|
domParser.setDisableDefaultEntityResolution(true);
|
||||||
domParser.setErrorHandler(&parserErrorHandler);
|
domParser.setErrorHandler(&parserErrorHandler);
|
||||||
|
|
||||||
QByteArray const data = fileSchema.readAll();
|
QByteArray const data = fileSchema.readAll();
|
||||||
|
|
Loading…
Reference in a new issue