Changeset 2999


Ignore:
Timestamp:
Apr 18, 2020 3:31:38 PM (3 months ago)
Author:
tkr
Message:

Updating Travis and Appvetor a bit

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r2998 r2999  
    5959    - os: linux
    6060      dist: precise
    61       env: BUILD_STATIC=false DEBUG=true
     61      env: BUILD_STATIC=true DEBUG=true
    6262      addons:
    6363        apt:
     
    117117  - export DBGC=""
    118118  - if [[ $DEBUG == "true" ]]; then export DBGC="--enable-debug"; fi
    119   - if [[ $DEBUG == "true" ]]; then export CXXFLAGS="-Og -g"; fi
     119  - if [[ $DEBUG == "true" ]]; then export export CXXFLAGS="-Og -g"; fi
    120120  - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ $BUILD_STATIC == "true" ]]; then bash ./coinbrew build $PROJECT --no-prompt --verbosity=4 --enable-relocatable --fully-static $DBGC --with-lapack="-llapack -lblas -lgfortran -lquadmath -lm"; fi
    121121  - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ $BUILD_STATIC == "false" ]]; then bash ./coinbrew build $PROJECT --no-prompt --verbosity=4 --tests main --enable-relocatable $DBGC; fi
     
    126126  - if [[ $DEBUG == "true" ]]; then export DBGN="-dbg"; fi
    127127  - if [ $TRAVIS_BRANCH = "master" ]; then export VERSION=master; else export VERSION=`echo $TRAVIS_BRANCH | cut -d "/" -f 2`; fi
    128   - if [ $BUILD_STATIC = "false" ]; then export TGZ_FILE=$PROJECT-$VERSION-$PLATFORM$DBGN.tgz; else export TGZ_FILE=$PROJECT-$VERSION-static-$PLATFORM$DBGN.tgz; fi
     128  - if [ $BUILD_STATIC = "false" ]; then export TGZ_FILE=$PROJECT-$VERSION-$TRAVIS_DIST-$PLATFORM$DBGN.tgz; else export TGZ_FILE=$PROJECT-$VERSION-static-$TRAVIS_DIST-$PLATFORM$DBGN.tgz; fi
    129129  - echo $TGZ_FILE
    130130  - cp README.md LICENSE AUTHORS dist
  • trunk/appveyor.yml

    r2991 r2999  
    1919      ADD_PATH: /mingw64/bin
    2020    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
     21      ARCH: x86_64-w64-mingw32-dbg
     22      HOST_ARCH_ARG: --host=x86_64-w64-mingw32 --enable-cbc-parallel --enable-debug
     23      CXXFLAGS:
     24      CFLAGS:
     25      TESTS: main
     26      ADD_PATH: /mingw64/bin
     27    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
    2128      ARCH: i686-w64-mingw32
    2229      HOST_ARCH_ARG: --host=i686-w64-mingw32 --enable-cbc-parallel
     30      CXXFLAGS:
     31      CFLAGS:
     32      TESTS: main
     33      ADD_PATH: /mingw32/bin
     34    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
     35      ARCH: i686-w64-mingw32-dbg
     36      HOST_ARCH_ARG: --host=i686-w64-mingw32 --enable-cbc-parallel --enable-debug
    2337      CXXFLAGS:
    2438      CFLAGS:
     
    166180  - IF %ARCH%==i686-w64-mingw32 (cp C:\msys64\mingw32\bin\libtermcap-0.dll C:\projects\dist\bin)
    167181  - IF %ARCH%==i686-w64-mingw32 (cp C:\msys64\mingw32\bin\zlib1.dll C:\projects\dist\bin)
     182  - IF %ARCH%==i686-w64-mingw32 (cp C:\msys64\mingw64\bin\libcholmod.dll C:\projects\dist\bin)
     183  - IF %ARCH%==i686-w64-mingw32 (cp C:\msys64\mingw64\bin\libcolamd.dll C:\projects\dist\bin)
     184  - IF %ARCH%==i686-w64-mingw32 (cp C:\msys64\mingw64\bin\libccolamd.dll C:\projects\dist\bin)
     185  - IF %ARCH%==i686-w64-mingw32 (cp C:\msys64\mingw64\bin\libamd.dll C:\projects\dist\bin)
     186  - IF %ARCH%==i686-w64-mingw32 (cp C:\msys64\mingw64\bin\libcamd.dll C:\projects\dist\bin)
     187  - IF %ARCH%==i686-w64-mingw32 (cp C:\msys64\mingw64\bin\libmetis.dll C:\projects\dist\bin)
     188  - IF %ARCH%==i686-w64-mingw32 (cp C:\msys64\mingw64\bin\libgomp-1.dll C:\projects\dist\bin)
     189  - IF %ARCH%==i686-w64-mingw32 (cp C:\msys64\mingw64\bin\libsuitesparseconfig.dll C:\projects\dist\bin)
    168190  - 7z a %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip C:\projects\dist\bin
    169191  - 7z a %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip C:\projects\dist\include
Note: See TracChangeset for help on using the changeset viewer.