--- version: '{branch}-{build}' skip_tags: true max_jobs: 1 image: - Visual Studio 2017 - Ubuntu1804 configuration: - release-fastbuild - release # - debug platform: # Disable x86 builds since we only get one concurrent build on AppVeyor and x86 # failures will be caught by Jenkins. # - x86 - x64 matrix: exclude: # Ubuntu doesn't support "release-fastbuild". - image: Ubuntu1804 configuration: release-fastbuild # We only want "release-fastbuild" for Windows since "release" consumes too # much memory due to link-time code generation / whole-program optimization. - image: Visual Studio 2017 configuration: release skip_commits: files: - doc/ - .travis.yml - LICENSE - README - README.md - CHANGELOG - COPYING - CODE_OF_CONDUCT.md for: ########## UBUNTU SPECIFIC CONFIGURATION ########## - matrix: only: - image: Ubuntu1804 clone_folder: /home/appveyor/projects/mixxx cache: - /home/appveyor/.ccache install: - sudo apt-get update - sudo apt-get -y install ccache gdb libavformat-dev libchromaprint-dev libfaad-dev libflac-dev libid3tag0-dev liblilv-dev libmad0-dev libmodplug-dev libmp3lame-dev libmp4v2-dev libopus-dev libopusfile-dev libportmidi-dev libprotobuf-dev libqt5opengl5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5x11extras5-dev librubberband-dev libshout3-dev libsndfile1-dev libsoundtouch-dev libsqlite3-dev libtag1-dev libupower-glib-dev libusb-1.0-0-dev libwavpack-dev portaudio19-dev protobuf-compiler python3-pip qt5-default qt5keychain-dev qtscript5-dev xsltproc - sudo pip3 install cmake before_build: # Limit cache size to 100 MB - ccache -M 100M - ccache -c - ccache -s build_script: - export CMAKE_BUILD_PARALLEL_LEVEL="$(nproc)" - mkdir cmake_build - cd cmake_build - cmake -L -DFAAD=ON -DHSS1394=OFF -DLOCALECOMPARE=ON -DMAD=ON -DMODPLUG=ON -DOPUS=ON -DWAVPACK=ON .. - cmake --build . - sudo cmake --build . --target install test_script: - export CTEST_OUTPUT_ON_FAILURE=1 - xvfb-run -- ctest -T test --no-compress-output - xvfb-run -- cmake --build . --target benchmark after_test: - xsltproc -o ctest-to-junit-results.xml ../cmake/ctest-to-junit.xsl Testing/*/Test.xml - curl -F 'file=@ctest-to-junit-results.xml' "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID" ########## END UBUNTU SPECIFIC CONFIGURATION ########## ########## WINDOWS SPECIFIC CONFIGURATION ########## - matrix: only: - image: Visual Studio 2017 fast_finish: false # set this flag to true to immediately finish build once one of the jobs fails. init: - git config --global core.autocrlf input # Uncomment the following line to show RDP info at beginning of job # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) clone_folder: c:\projects\mixxx cache: - C:\mixxx-buildserver - C:\Users\appveyor\clcache environment: ENVIRONMENTS_URL: https://downloads.mixxx.org/builds/buildserver/2.3.x-windows/ ENVIRONMENTS_PATH: C:\mixxx-buildserver MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community" PATH: 'C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%' install: - set /P ENVIRONMENT_NAME=