OpenFPGA/.travis/script.sh

26 lines
357 B
Bash
Raw Normal View History

2019-04-10 02:24:37 -05:00
#!/bin/bash
source .travis/common.sh
set -e
$SPACER
start_section "OpenFPGA.build" "${GREEN}Building..${NC}"
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
2019-05-04 00:18:31 -05:00
#make
mkdir build
2019-05-04 00:24:08 -05:00
cd build
2019-05-04 00:18:31 -05:00
cmake ..
make -j2
2019-04-10 02:24:37 -05:00
else
# For linux, we enable full package compilation
2019-05-04 00:18:31 -05:00
#make
mkdir build
2019-05-04 00:24:08 -05:00
cd build
2019-05-04 00:18:31 -05:00
cmake ..
make -j2
2019-04-10 02:24:37 -05:00
fi
end_section "OpenFPGA.build"
$SPACER