diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 5adb24e..d1ecd13 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -45,7 +45,7 @@ jobs: - name: Install system dependencies (MacOS) if: ${{ matrix.os == 'macos-latest' }} run: | - brew install gsl fftw + brew install gsl fftw ninja - name: Configure env: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9cd5a06..0000000 --- a/.travis.yml +++ /dev/null @@ -1,101 +0,0 @@ -# -# Travis CI configuration file -# -# ICRAR - International Centre for Radio Astronomy Research -# (c) UWA - The University of Western Australia, 2016 -# Copyright by UWA (in the framework of the ICRAR) -# All rights reserved -# -# Contributed by Rodrigo Tobar -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA -# - -language: cpp -sudo: false -dist: trusty - -# We try with both GNU and LLVM -# When running with gcc-6 we also collect coverage information -# and upload it to coveralls -matrix: - include: - - compiler: gcc - addons: - apt: - packages: [libgsl0-dev, cxxtest] - env: COMPILER=g++ POOR_BUILD=yes - - compiler: gcc - addons: - apt: - sources: ubuntu-toolchain-r-test - packages: [g++-4.6, libfftw3-dev, libgsl0-dev, opencl-headers] - env: COMPILER=g++-4.6 CXXFLAGS="-std=c++0x" - - compiler: gcc - addons: - apt: - sources: ubuntu-toolchain-r-test - packages: [g++-4.7, libfftw3-dev, libgsl0-dev, opencl-headers] - env: COMPILER=g++-4.7 - - compiler: gcc - addons: - apt: - sources: ubuntu-toolchain-r-test - packages: [g++-4.9, libfftw3-dev, libgsl0-dev, opencl-headers] - env: COMPILER=g++-4.9 - - compiler: gcc - addons: - apt: - sources: ubuntu-toolchain-r-test - packages: [g++-5, libfftw3-dev, libgsl0-dev, opencl-headers] - env: COMPILER=g++-5 - - compiler: gcc - cache: - directories: - - '$HOME/.sonar/cache' - addons: - sonarcloud: - token: - secure: "T/nf5mmePSxJsP72aX97mL6HnclDZ4UGLlPfRFslcg+AMGFyfCt4IJY0QymF6QQ/bcqDw53strzKdvn56uHkoBo2TLLX/+Qd06bJuMHWzTIKUQT2aPoF7l7eztLPi0RqO+xd8wxZtthGgKMIrYDomSWIBSpbuPDxyYFGQE/cuQjzTUi1eP0YlRr6L61TjHO6sD5JmjakueU1nDwTWdorZr8Q08X4W1o8P++OayNJwjh8FUW7GiZ5jhLZIVw5QxLlycFVDCElspSqU0DKg7jcL+uaRfoOSao4nUBUcL372dup40iqj2jBkyBl3moJjUqM5D3KXUJmh75Cz1iArevR4z3921iMqTRjOinplUmp4v4nDMax5rEM1YAXKMiUder5WHO7HvYLRojqukBWigeWiBPO9cIXUG9RQOohrjBrofb2gNd3swDV+FscVTppnqqgfqgFKG3j6T0j7rni/1UT/Ri3Mlk5G7QTcPXokxvQQvkn5QQ3j5L/bwDLf6hW48G2sEOdP31fakhARrLauJNj6P47geW5jHndKf3t92eNmfq4Y9ZI1aNZo2FIP2udz/KhMfozbiLp9J/ZBjyOEMtavlKWFdeRumDssK0EEBXTLSmXzhG5cE/yc50O08peF6ucFzGq9HNMIr0ORzkSu8OKhj3zrPRJehxpTTnBcft9DkA=" - apt: - sources: ubuntu-toolchain-r-test - packages: [g++-6, libfftw3-dev, libgsl0-dev, opencl-headers, cxxtest] - env: COMPILER=g++-6 CXXFLAGS="-coverage" LDFLAGS="-coverage" - - compiler: clang - addons: - apt: - packages: [libfftw3-dev, libgsl0-dev, opencl-headers, cxxtest] - env: COMPILER=clang++ LD_LIBRARY_PATH=/usr/local/clang-5.0.0/lib - - os: osx - osx_image: xcode12 # OSX 10.15 - env: XCODE=12 - -# We "source" it because it exports variables -before_install: - - source .travis/before_install.sh - -install: - - source .travis/install.sh - -script: - - cd ${TRAVIS_BUILD_DIR}/build - - $MAKE_ALL - - make install - - PROFIT_HOME=testing-home CL_LOG_ERRORS="stdout" ctest --verbose - -after_success: - - cd ${TRAVIS_BUILD_DIR} - - source .travis/after_success.sh