The 5.11.2 version has been removed from AppVeyor leading to all builds failing due to lack of Qt install. The 5.12 folder is symlinked to the newest Qt version, preventing the need for changes during small updates and preventing failures when versions have been removed. This solves https://github.com/OpenVR-Advanced-Settings/OpenVR-AdvancedSettings/issues/53
33 lines
674 B
YAML
33 lines
674 B
YAML
language: cpp
|
|
dist: xenial
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-7
|
|
env:
|
|
- QMAKE_SPEC=linux-g++
|
|
|
|
- os: linux
|
|
env:
|
|
- QMAKE_SPEC=linux-clang
|
|
|
|
before_install:
|
|
- python ./build_scripts/run-clang-format.py ./src -r --color always
|
|
|
|
install:
|
|
- sudo add-apt-repository ppa:kubuntu-ppa/backports -y
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install build-essential qtbase5-dev qttools5-dev qtdeclarative5-dev qtmultimedia5-dev qt5-default qttools5-dev-tools
|
|
|
|
script:
|
|
- mkdir build && cd build
|
|
- qmake --version
|
|
- qmake .. -spec $QMAKE_SPEC
|
|
- make
|