diff --git a/.ci/install_debian.sh b/.ci/install_debian.sh deleted file mode 100644 index f405be9..0000000 --- a/.ci/install_debian.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -set -e - -apt-get update - -# noninteractive tzdata ( https://stackoverflow.com/questions/44331836/apt-get-install-tzdata-noninteractive ) -export DEBIAN_FRONTEND=noninteractive - -# CI specific packages -apt-get install -y clang wget unzip build-essential cmake libeigen3-dev git diff --git a/.ci/install_debian_and_script.sh b/.ci/install_debian_and_script.sh deleted file mode 100644 index fc44203..0000000 --- a/.ci/install_debian_and_script.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -set -e - -DIR=$(dirname "$(readlink -f "$0")") - -sh $DIR/install_debian.sh -sh $DIR/script.sh diff --git a/.ci/script.sh b/.ci/script.sh deleted file mode 100644 index cbf69a0..0000000 --- a/.ci/script.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -set -e - -# google test -wget https://github.com/google/googletest/archive/release-1.8.0.zip -unzip release-1.8.0.zip -cd googletest-release-1.8.0 -mkdir build -cd build -cmake -G"${TRAVIS_CMAKE_GENERATOR}" -DBUILD_GTEST=ON -DBUILD_SHARED_LIBS=ON .. -cmake --build . --config ${TRAVIS_BUILD_TYPE} --target install -cd ../.. - -# osqp -git clone --recursive https://github.com/oxfordcontrol/osqp.git -cd osqp -mkdir build -cd build -cmake -G"${TRAVIS_CMAKE_GENERATOR}" -DCMAKE_BUILD_TYPE=${TRAVIS_BUILD_TYPE} -DUNITTESTS=OFF .. -cmake --build . --config ${TRAVIS_BUILD_TYPE} --target install -cd ../.. - -# Build, test and install osqp-eigen -cd $TRAVIS_BUILD_DIR -mkdir build -cd build -cmake -G"${TRAVIS_CMAKE_GENERATOR}" -DCMAKE_BUILD_TYPE=${TRAVIS_BUILD_TYPE} -DBUILD_TESTING=ON .. -cmake --build . --config ${TRAVIS_BUILD_TYPE} --target install -ctest --output-on-failure --build-config ${TRAVIS_BUILD_TYPE} - -# Build osqp-eigen example -cd ../example -mkdir build -cd build -cmake -G"${TRAVIS_CMAKE_GENERATOR}" -DCMAKE_BUILD_TYPE=${TRAVIS_BUILD_TYPE} .. -cmake --build . --config ${TRAVIS_BUILD_TYPE} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 19a3c66..0000000 --- a/.travis.yml +++ /dev/null @@ -1,95 +0,0 @@ -dist: trusty -language: cpp -services: docker - -os: linux - -cache: - directories: - - $HOME/.ccache - - $HOME/Library/Caches/Homebrew - -stages: - - test # Default stage with job matrix - - osx - -compiler: - - gcc - -env: - global: - - TRAVIS_CMAKE_GENERATOR="Unix Makefiles" - matrix: - - TRAVIS_BUILD_TYPE="Release" UBUNTU="xenial" - - TRAVIS_BUILD_TYPE="Debug" UBUNTU="xenial" - - TRAVIS_BUILD_TYPE="Release" UBUNTU="bionic" - - TRAVIS_BUILD_TYPE="Debug" UBUNTU="bionic" - -# =================== -# STAGE: test (linux) -# =================== - -before_script: - - docker pull ubuntu:$UBUNTU - -script: - - >- - docker run -it \ - -v $TRAVIS_BUILD_DIR:$TRAVIS_BUILD_DIR \ - -v $HOME/.ccache:$HOME/.ccache \ - -w $TRAVIS_BUILD_DIR \ - --env CC \ - --env CXX \ - --env TRAVIS_BUILD_DIR \ - --env TRAVIS_BUILD_TYPE \ - --env TRAVIS_CMAKE_GENERATOR \ - ubuntu:$UBUNTU \ - sh .ci/install_debian_and_script.sh - -# ========== -# STAGE: osx -# ========== - -stage_osx: - install: &osx_install - # Setup ccache - - brew update - - brew install ccache - - export PATH="/usr/local/opt/ccache/libexec:$PATH" - # Install dependencies - - brew install eigen pkg-config - script: &osx_script - - cd $TRAVIS_BUILD_DIR/.ci - - sh ./script.sh - -# ====================== -# BUILD JOBS FROM STAGES -# ====================== - -jobs: - include: - # --------- - # STAGE OSX - # --------- - - &osx_template - stage: osx - os: osx - osx_image: xcode9.4 - before_install: skip - install: *osx_install - before_script: skip - script: *osx_script - after_failure: skip - after_success: skip - after_script: skip - env: - TRAVIS_CMAKE_GENERATOR="Xcode" - TRAVIS_BUILD_TYPE="Debug" - - <<: *osx_template - compiler: clang - env: - TRAVIS_CMAKE_GENERATOR="Unix Makefiles" - TRAVIS_BUILD_TYPE="Debug" - -notifications: - email: false diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index ad07af6..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,43 +0,0 @@ -version: 1.0.{build} - -clone_folder: c:\projects\osqp-eigen - -environment: - Eigen3_DIR: C:/Program Files (x86)/Eigen/lib/cmake/eigen3/ - -os: - - Visual Studio 2015 - - Visual Studio 2017 - -install: - # Check env variables - - cmd: echo CMAKE_PREFIX_PATH %CMAKE_PREFIX_PATH% - - cmd: echo PATH %PATH% -build: - -build_script: - # download and build osqp - - cd c:\projects - - git clone --recursive --depth 1 https://github.com/oxfordcontrol/osqp.git - - cd osqp - - md build - - cd build - - cmake .. - - cmake --build . --config Release - - cmake --build . --config Release --target INSTALL - # download and install eigen3 - - cd c:\projects - - hg clone https://bitbucket.org/eigen/eigen - - cd eigen - - hg checkout 3.3-beta2 - - md build - - cd build - - cmake .. - - cmake --build . --config Release --target INSTALL - # compile osqp-eigen - - cd c:\projects\osqp-eigen - - md build - - cd build - - cmake .. -DEIGEN3_INCLUDE_DIR="C:/Program Files (x86)/Eigen/include/eigen3" - - cmake --build . --config Release - - cmake --build . --config Release --target INSTALL