2019-01-17 17:00:41 +08:00
|
|
|
language: cpp
|
|
|
|
# gcc is clang on mac
|
|
|
|
compiler: gcc
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
2019-01-26 00:28:36 +08:00
|
|
|
- name: Ubuntu qmake Qt5.5.1
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
group: stable
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- sourceline: 'ppa:beineri/opt-qt551-trusty'
|
|
|
|
update: true
|
|
|
|
packages:
|
|
|
|
- qt55base
|
|
|
|
- qt55tools
|
2020-08-31 18:51:42 +08:00
|
|
|
- qt55x11extras
|
2020-05-24 15:14:33 +08:00
|
|
|
- gcc-9
|
|
|
|
- g++-9
|
2019-01-26 00:28:36 +08:00
|
|
|
script:
|
|
|
|
- PATH="/opt/qt55/bin:$PATH"
|
2020-05-24 15:14:33 +08:00
|
|
|
- CXX="g++-9"
|
|
|
|
- CC="gcc-9"
|
2019-01-26 00:28:36 +08:00
|
|
|
- qt55-env.sh
|
|
|
|
- qmake
|
|
|
|
- make
|
|
|
|
- make install
|
2019-01-18 16:33:11 +08:00
|
|
|
- name: Ubuntu qmake dll
|
2019-01-17 17:00:41 +08:00
|
|
|
os: linux
|
2020-05-24 15:14:33 +08:00
|
|
|
dist: bionic
|
2019-01-17 17:00:41 +08:00
|
|
|
group: stable
|
2020-05-24 15:14:33 +08:00
|
|
|
services:
|
|
|
|
- xvfb
|
|
|
|
compiler: gcc
|
2019-01-17 17:00:41 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
2019-01-18 16:33:11 +08:00
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2020-05-24 15:14:33 +08:00
|
|
|
- sourceline: 'ppa:beineri/opt-qt-5.14.2-bionic'
|
2019-01-18 16:33:11 +08:00
|
|
|
update: true
|
2019-01-17 17:00:41 +08:00
|
|
|
packages:
|
2020-05-24 15:14:33 +08:00
|
|
|
- qt514base
|
|
|
|
- qt514tools
|
2020-08-31 18:51:42 +08:00
|
|
|
- qt514x11extras
|
2020-05-24 15:14:33 +08:00
|
|
|
- gcc-9
|
|
|
|
- g++-9
|
2019-01-18 16:33:11 +08:00
|
|
|
- libc6-i386
|
|
|
|
- libgl-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- mesa-common-dev
|
2019-01-17 17:00:41 +08:00
|
|
|
script:
|
2020-05-24 15:14:33 +08:00
|
|
|
- PATH="/opt/qt514/bin:$PATH"
|
|
|
|
- CXX="g++-9"
|
|
|
|
- CC="gcc-9"
|
|
|
|
- qt514-env.sh
|
2019-01-18 16:33:11 +08:00
|
|
|
- qmake
|
|
|
|
- make
|
|
|
|
- make install
|
|
|
|
- name: Ubuntu qmake static
|
2019-01-17 17:00:41 +08:00
|
|
|
os: linux
|
2020-05-24 15:14:33 +08:00
|
|
|
dist: bionic
|
2019-01-17 17:00:41 +08:00
|
|
|
group: stable
|
2020-05-24 15:14:33 +08:00
|
|
|
services:
|
|
|
|
- xvfb
|
|
|
|
compiler: gcc
|
2019-01-17 17:00:41 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
2019-01-18 16:33:11 +08:00
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2020-05-24 15:14:33 +08:00
|
|
|
- sourceline: 'ppa:beineri/opt-qt-5.14.2-bionic'
|
2019-01-18 16:33:11 +08:00
|
|
|
update: true
|
2019-01-17 17:00:41 +08:00
|
|
|
packages:
|
2020-05-24 15:14:33 +08:00
|
|
|
- qt514base
|
|
|
|
- qt514tools
|
2020-08-31 18:51:42 +08:00
|
|
|
- qt514x11extras
|
2020-05-24 15:14:33 +08:00
|
|
|
- gcc-9
|
|
|
|
- g++-9
|
2019-01-18 16:33:11 +08:00
|
|
|
- libc6-i386
|
|
|
|
- libgl-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- mesa-common-dev
|
2019-01-17 17:00:41 +08:00
|
|
|
script:
|
2020-05-24 15:14:33 +08:00
|
|
|
- PATH="/opt/qt514/bin:$PATH"
|
|
|
|
- CXX="g++-9"
|
|
|
|
- CC="gcc-9"
|
|
|
|
- qt514-env.sh
|
2019-01-18 16:33:11 +08:00
|
|
|
- qmake "CONFIG+=adsBuildStatic"
|
|
|
|
- make
|
|
|
|
- make install
|
2020-05-24 15:14:33 +08:00
|
|
|
- name: Ubuntu CMake dll
|
|
|
|
os: linux
|
|
|
|
dist: bionic
|
|
|
|
group: stable
|
|
|
|
services:
|
|
|
|
- xvfb
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- sourceline: 'ppa:beineri/opt-qt-5.14.2-bionic'
|
|
|
|
update: true
|
|
|
|
packages:
|
|
|
|
- qt514base
|
|
|
|
- qt514tools
|
2020-08-31 18:51:42 +08:00
|
|
|
- qt514x11extras
|
2020-05-24 15:14:33 +08:00
|
|
|
- gcc-9
|
|
|
|
- g++-9
|
|
|
|
- libc6-i386
|
|
|
|
- libgl-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- mesa-common-dev
|
|
|
|
script:
|
|
|
|
- PATH="/opt/qt514/bin:$PATH"
|
|
|
|
- CXX="g++-9"
|
|
|
|
- CC="gcc-9"
|
|
|
|
- qt514-env.sh
|
|
|
|
- mkdir ./build
|
|
|
|
- cd ./build
|
|
|
|
- cmake --version
|
|
|
|
- cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_STATIC=OFF -DBUILD_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
|
|
|
|
- cmake --build .
|
|
|
|
- cmake --build . --target install
|
|
|
|
- cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_STATIC=OFF -DBUILD_EXAMPLES=ON -DCMAKE_DEBUG_POSTFIX=d -DCMAKE_INSTALL_PREFIX="./installed" ../
|
|
|
|
- cmake --build .
|
|
|
|
- cmake --build . --target install
|
|
|
|
- name: Ubuntu CMake Static
|
|
|
|
os: linux
|
|
|
|
dist: bionic
|
|
|
|
group: stable
|
|
|
|
services:
|
|
|
|
- xvfb
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- sourceline: 'ppa:beineri/opt-qt-5.14.2-bionic'
|
|
|
|
update: true
|
|
|
|
packages:
|
|
|
|
- qt514base
|
|
|
|
- qt514tools
|
2020-08-31 18:51:42 +08:00
|
|
|
- qt514x11extras
|
2020-05-24 15:14:33 +08:00
|
|
|
- gcc-9
|
|
|
|
- g++-9
|
|
|
|
- libc6-i386
|
|
|
|
- libgl-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- mesa-common-dev
|
|
|
|
script:
|
|
|
|
- PATH="/opt/qt514/bin:$PATH"
|
|
|
|
- CXX="g++-9"
|
|
|
|
- CC="gcc-9"
|
|
|
|
- qt514-env.sh
|
|
|
|
- mkdir ./build
|
|
|
|
- cd ./build
|
|
|
|
- cmake --version
|
|
|
|
- cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_STATIC=ON -DBUILD_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
|
|
|
|
- cmake --build .
|
|
|
|
- cmake --build . --target install
|
|
|
|
- cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_STATIC=ON -DBUILD_EXAMPLES=ON -DCMAKE_DEBUG_POSTFIX=d -DCMAKE_INSTALL_PREFIX="./installed" ../
|
|
|
|
- cmake --build .
|
|
|
|
- cmake --build . --target install
|
2019-01-17 17:00:41 +08:00
|
|
|
- name: macOS CMake dll
|
|
|
|
os: osx
|
2020-05-24 15:14:33 +08:00
|
|
|
osx_image: xcode11.3
|
|
|
|
compiler: clang
|
2019-01-17 17:00:41 +08:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- qt
|
2019-01-18 16:33:11 +08:00
|
|
|
update: true
|
2019-01-17 17:00:41 +08:00
|
|
|
script:
|
2019-01-18 16:33:11 +08:00
|
|
|
- PATH="/usr/local/opt/qt5/bin:$PATH"
|
|
|
|
- mkdir -p build
|
2019-01-17 17:00:41 +08:00
|
|
|
- cd build
|
|
|
|
- cmake --version
|
2019-01-18 16:33:11 +08:00
|
|
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_DEBUG_POSTFIX=_debug -DBUILD_EXAMPLES=ON -DBUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX="./installed" ../
|
2019-01-17 17:00:41 +08:00
|
|
|
- cmake --build .
|
|
|
|
- cmake --build . --target install
|
|
|
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON -DBUILD_STATIC=OFF -DCMAKE_INSTALL_PREFIX="./installed" ../
|
|
|
|
- cmake --build .
|
|
|
|
- cmake --build . --target install
|
|
|
|
- name: macOS CMake static
|
|
|
|
os: osx
|
2020-05-24 15:14:33 +08:00
|
|
|
osx_image: xcode11.3
|
|
|
|
compiler: clang
|
2019-01-17 17:00:41 +08:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- qt
|
2019-01-18 16:33:11 +08:00
|
|
|
update: true
|
2019-01-17 17:00:41 +08:00
|
|
|
script:
|
2019-01-18 16:33:11 +08:00
|
|
|
- PATH="/usr/local/opt/qt5/bin:$PATH"
|
|
|
|
- mkdir -p build
|
2019-01-17 17:00:41 +08:00
|
|
|
- cd build
|
|
|
|
- cmake --version
|
2019-01-18 16:33:11 +08:00
|
|
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_DEBUG_POSTFIX=_debug -DBUILD_EXAMPLES=ON -DBUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
|
2019-01-17 17:00:41 +08:00
|
|
|
- cmake --build .
|
|
|
|
- cmake --build . --target install
|
|
|
|
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON -DBUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX="./installed" ../
|
|
|
|
- cmake --build .
|
|
|
|
- cmake --build . --target install
|
2019-01-18 16:33:11 +08:00
|
|
|
- name: macOS qmake dll
|
|
|
|
os: osx
|
2020-05-24 15:14:33 +08:00
|
|
|
osx_image: xcode11.3
|
|
|
|
compiler: clang
|
2019-01-18 16:33:11 +08:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- qt
|
|
|
|
update: true
|
|
|
|
script:
|
|
|
|
- PATH="/usr/local/opt/qt5/bin:$PATH"
|
|
|
|
- qmake
|
|
|
|
- make
|
|
|
|
- make install
|
|
|
|
- name: macOS qmake static
|
|
|
|
os: osx
|
2020-05-24 15:14:33 +08:00
|
|
|
osx_image: xcode11.3
|
|
|
|
compiler: clang
|
2019-01-18 16:33:11 +08:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- qt
|
|
|
|
update: true
|
|
|
|
script:
|
|
|
|
- PATH="/usr/local/opt/qt5/bin:$PATH"
|
|
|
|
- qmake "CONFIG+=adsBuildStatic"
|
|
|
|
- make
|
|
|
|
- make install
|
2019-01-17 17:00:41 +08:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|