view .travis.yml @ 295:de5dc40f1830

Include headers needed to compile with GCC 15's -std=gnu23 default ``` In file included from ../piper-vamp-cpp/vamp-json/VampJson.h:55, from ../piper-vamp-cpp/vamp-server/convert.cpp:36: ../piper-vamp-cpp/vamp-support/PluginHandleMapper.h:69:13: error: ‘uint32_t’ does not name a type 69 | typedef uint32_t Handle; | ^~~~~~~~ ../piper-vamp-cpp/vamp-support/PluginHandleMapper.h:39:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 38 | #include "PluginOutputIdMapper.h" +++ |+#include <cstdint> 39 | ../piper-vamp-cpp/ext/json11/json11.cpp: In function ‘void json11::dump(const std::string&, std::string&)’: ../piper-vamp-cpp/ext/json11/json11.cpp:95:32: error: ‘uint8_t’ does not name a type 95 | } else if (static_cast<uint8_t>(ch) <= 0x1f) { | ^~~~~~~ ../piper-vamp-cpp/ext/json11/json11.cpp:25:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 24 | #include <cmath> +++ |+#include <cstdint> 25 | #include <cstdlib> ``` Signed-off-by: Michel Lind <salimma@fedoraproject.org>
author Michel Lind <salimma@fedoraproject.org>
date Fri, 24 Jan 2025 11:38:28 -0600
parents b01e02f40844
children
line wrap: on
line source
dist:
  - xenial

language:
  - cpp

sudo:
  - false

os:
  - linux
  - osx

addons:
  apt:
    packages:
      - qt5-default
      
before_install:
  - ( cd ../ ; git clone https://github.com/piper-audio/piper )
  - ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk )
  - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
  - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ( cd ../capnproto ; git checkout v0.6.1 ) ; fi
  - ( cd ../capnproto/c++ ; ./setup-autotools.sh && autoreconf -i )
  - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
  - ( cd ../vamp-plugin-sdk ; if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then make -f build/Makefile.osx sdkstatic plugins ; else ./configure --disable-programs && make sdkstatic plugins; fi )

install:
  - sudo pip2 install jsonschema

script:
  - VAMP_PATH=$(pwd)/../vamp-plugin-sdk/examples ./test.sh