[TRAVIS] Yet another fix for script syntax

This commit is contained in:
ptitSeb 2021-09-05 14:56:17 +02:00
parent e88fa9ab45
commit 9ae3543879

View File

@ -18,10 +18,7 @@ before_script:
- if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then sudo apt-get -y install gcc-arm-linux-gnueabihf ; fi
- mkdir build
- cd build
- if [ "$TRAVIS_CPU_ARCH" = "arm64" ]
- then cmake .. -DRK3399=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo
- else CFLAGS="-m32" cmake .. -DLD80BITS=1 -DNOALIGN=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo
- fi
- if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then cmake .. -DRK3399=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo ; else CFLAGS="-m32" cmake .. -DLD80BITS=1 -DNOALIGN=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo ; fi
script:
- make