Travis Experiments Squashed
This commit is contained in:
parent
94b60b9714
commit
f042c35edf
|
@ -44,4 +44,5 @@ fpga_flow/csv_rpts
|
||||||
tmp/
|
tmp/
|
||||||
build/
|
build/
|
||||||
|
|
||||||
message.txt
|
message.txt
|
||||||
|
deploy_key
|
176
.travis.yml
176
.travis.yml
|
@ -1,116 +1,86 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
# cache results
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $TRAVIS_BUILD_DIR/abc
|
- "$TRAVIS_BUILD_DIR/abc"
|
||||||
- $TRAVIS_BUILD_DIR/yosys
|
- "$TRAVIS_BUILD_DIR/yosys"
|
||||||
- $TRAVIS_BUILD_DIR/ace2
|
- "$TRAVIS_BUILD_DIR/ace2"
|
||||||
- $TRAVIS_BUILD_DIR/libs
|
- "$TRAVIS_BUILD_DIR/libs"
|
||||||
- $HOME/.ccache
|
- "$HOME/.ccache"
|
||||||
- $HOME/deps
|
- "$HOME/deps"
|
||||||
|
|
||||||
# Currently sudo is not required, NO ENV is used
|
|
||||||
|
|
||||||
# Supported Operating systems
|
|
||||||
#os:
|
|
||||||
# - linux
|
|
||||||
# - osx
|
|
||||||
# Create a matrix to branch the building environment
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
# Compiler is specified in ./travis/common.sh
|
sudo: false
|
||||||
sudo: false
|
dist: bionic
|
||||||
dist: bionic
|
compiler: g++-8
|
||||||
compiler: g++-8
|
addons:
|
||||||
addons:
|
apt:
|
||||||
apt:
|
sources:
|
||||||
sources:
|
- sourceline: ppa:ubuntu-toolchain-r/test
|
||||||
- ubuntu-toolchain-r-test # For newer GCC
|
packages:
|
||||||
- george-edison55-precise-backports # For cmake
|
- autoconf
|
||||||
packages:
|
- automake
|
||||||
- autoconf
|
- bash
|
||||||
- automake
|
- bison
|
||||||
- bash
|
- build-essential
|
||||||
- bison
|
- cmake
|
||||||
- build-essential
|
- ctags
|
||||||
- cmake
|
- curl
|
||||||
- ctags
|
- doxygen
|
||||||
- curl
|
- flex
|
||||||
- doxygen
|
- fontconfig
|
||||||
- flex
|
- g++-8
|
||||||
- fontconfig
|
- gcc-8
|
||||||
- g++-8
|
- gdb
|
||||||
- gcc-8
|
- git
|
||||||
- gdb
|
- gperf
|
||||||
- git
|
- iverilog
|
||||||
- gperf
|
- libcairo2-dev
|
||||||
- iverilog
|
- libevent-dev
|
||||||
- libcairo2-dev
|
- libfontconfig1-dev
|
||||||
- libevent-dev
|
- liblist-moreutils-perl
|
||||||
- libfontconfig1-dev
|
- libncurses5-dev
|
||||||
- liblist-moreutils-perl
|
- libx11-dev
|
||||||
- libncurses5-dev
|
- libxft-dev
|
||||||
- libx11-dev
|
- libxml++2.6-dev
|
||||||
- libxft-dev
|
- perl
|
||||||
- libxml++2.6-dev
|
- python
|
||||||
- perl
|
- texinfo
|
||||||
- python
|
- time
|
||||||
- texinfo
|
- valgrind
|
||||||
- time
|
- zip
|
||||||
- valgrind
|
- qt5-default
|
||||||
- zip
|
|
||||||
- qt5-default
|
|
||||||
# - os: osx
|
|
||||||
# osx_image: xcode10.2 # we target latest MacOS Mojave
|
|
||||||
# sudo: true
|
|
||||||
# compiler: gcc-4.9 # Use clang instead of gcc in MacOS
|
|
||||||
# addons:
|
|
||||||
# homebrew:
|
|
||||||
# packages:
|
|
||||||
# - bison
|
|
||||||
# - cmake
|
|
||||||
# - ctags
|
|
||||||
# - flex
|
|
||||||
# - fontconfig
|
|
||||||
# - git
|
|
||||||
# - gcc@6
|
|
||||||
# - gcc@4.9
|
|
||||||
# - gawk
|
|
||||||
# - icarus-verilog
|
|
||||||
# - libxml++
|
|
||||||
# - qt5
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- source .travis/common.sh
|
- openssl aes-256-cbc -K $encrypted_6f6cf68308be_key -iv $encrypted_6f6cf68308be_iv -in deploy_key.enc -out ./deploy_key -d
|
||||||
|
- eval "$(ssh-agent -s)"
|
||||||
|
- chmod 600 ./deploy_key
|
||||||
|
- echo -e "Host $SERVER_IP_ADDRESS\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
||||||
|
- ssh-add ./deploy_key
|
||||||
|
- ssh -o StrictHostKeyChecking=no -i ./deploy_key u1249762@lab1-1.eng.utah.edu pwd
|
||||||
|
- echo $TRAVIS_JOB_ID >> build_id.txt
|
||||||
|
- scp -o StrictHostKeyChecking=no -i ./deploy_key build_id.txt u1249762@lab1-1.eng.utah.edu:/var/tmp/travis_bc/build_id.txt
|
||||||
|
- source .travis/common.sh
|
||||||
install:
|
install:
|
||||||
- DEPS_DIR="${HOME}/deps"
|
- DEPS_DIR="${HOME}/deps"
|
||||||
- mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR}
|
- mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR}
|
||||||
- |
|
- |
|
||||||
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
||||||
CMAKE_URL="https://cmake.org/files/v3.12/cmake-3.12.4-Linux-x86_64.tar.gz"
|
CMAKE_URL="https://cmake.org/files/v3.12/cmake-3.12.4-Linux-x86_64.tar.gz"
|
||||||
mkdir -p cmake && travis_retry wget --no-clobber --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
|
mkdir -p cmake && travis_retry wget --no-clobber --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
|
||||||
export PATH=${DEPS_DIR}/cmake/bin:${PATH}
|
export PATH=${DEPS_DIR}/cmake/bin:${PATH}
|
||||||
echo ${PATH}
|
echo ${PATH}
|
||||||
else
|
else
|
||||||
brew install cmake || brew upgrade cmake
|
brew install cmake || brew upgrade cmake
|
||||||
fi
|
fi
|
||||||
- cmake --version
|
- cmake --version
|
||||||
- cd -
|
- cd -
|
||||||
- source .travis/install.sh
|
- source .travis/install.sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- .travis/script.sh
|
- ".travis/script.sh"
|
||||||
#- .travis/regression.sh
|
|
||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
- .travis/after_failure.sh
|
- ".travis/after_failure.sh"
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- .travis/after_success.sh
|
- ".travis/after_success.sh"
|
||||||
notifications:
|
notifications:
|
||||||
slack:
|
slack:
|
||||||
secure: L8tzicFh+EKcK21GBA2m3rQ3jmnDdqiRXIZcb0iqYlhT0V5asYvCqwlpPDUDV1wmBXqPgRJBI/jitAJlKFWu74pLTVc6FscUIDYM7S0DJfHEcufLknZx88lMmmV0IsYLQe3/s89tWoudMf1bNBo/8YWzLDffqUQ7s/rTPD9SWLppb01X0Xm158oDlA0rWETs35nuNFgJxWcSyIyIvnRNE3dHjzmBETUR9mYDsUSYlcOI44FMD8rE6emicdkqdn1zVxScobrl4Dt2bPsMfKopgIKK1x+38AuaqQa7t5F5ICnF0WfxmQ6/TcRNwIij0fDu68w/fcU8SyV+Ex5aZBKYUU7PG7ELTOq+q1geDoTlbguvFSIT4EzqErc4hbJmcUn79BKLhdjshZtGihKatntJx2faXYNYGFjwmnPFRYpqsozydztgMjzv4prZ5yoh7jhoDiGj44QcpXlQ9otM17JdfqveowMLHBYzATsxIRG93irZfXG/E3S8FvXg8mYOIEn8UK7H6i8VWL3JHlw8RbpLdNLswZOUlpEaDAeTm5tvYcw7FGH2nlZ2e5aXLxN6dTovSSRztQHbWdJTGG0N+xldBXcCiChmok4nXGReIkMc+99nZjRsiCB0R16tCNb25/p7NAVkItfVe1qRTzdnhi1hdE7LPURK4kxoFRJ6sFVuYjw=
|
secure: L8tzicFh+EKcK21GBA2m3rQ3jmnDdqiRXIZcb0iqYlhT0V5asYvCqwlpPDUDV1wmBXqPgRJBI/jitAJlKFWu74pLTVc6FscUIDYM7S0DJfHEcufLknZx88lMmmV0IsYLQe3/s89tWoudMf1bNBo/8YWzLDffqUQ7s/rTPD9SWLppb01X0Xm158oDlA0rWETs35nuNFgJxWcSyIyIvnRNE3dHjzmBETUR9mYDsUSYlcOI44FMD8rE6emicdkqdn1zVxScobrl4Dt2bPsMfKopgIKK1x+38AuaqQa7t5F5ICnF0WfxmQ6/TcRNwIij0fDu68w/fcU8SyV+Ex5aZBKYUU7PG7ELTOq+q1geDoTlbguvFSIT4EzqErc4hbJmcUn79BKLhdjshZtGihKatntJx2faXYNYGFjwmnPFRYpqsozydztgMjzv4prZ5yoh7jhoDiGj44QcpXlQ9otM17JdfqveowMLHBYzATsxIRG93irZfXG/E3S8FvXg8mYOIEn8UK7H6i8VWL3JHlw8RbpLdNLswZOUlpEaDAeTm5tvYcw7FGH2nlZ2e5aXLxN6dTovSSRztQHbWdJTGG0N+xldBXcCiChmok4nXGReIkMc+99nZjRsiCB0R16tCNb25/p7NAVkItfVe1qRTzdnhi1hdE7LPURK4kxoFRJ6sFVuYjw=
|
||||||
|
|
|
@ -19,19 +19,19 @@ end_section "OpenFPGA.build"
|
||||||
start_section "OpenFPGA.TaskTun" "${GREEN}..Running_Regression..${NC}"
|
start_section "OpenFPGA.TaskTun" "${GREEN}..Running_Regression..${NC}"
|
||||||
cd -
|
cd -
|
||||||
echo -e "Testing single-mode architectures";
|
echo -e "Testing single-mode architectures";
|
||||||
python3 openfpga_flow/scripts/run_fpga_task.py single_mode --debug
|
python3 openfpga_flow/scripts/run_fpga_task.py single_mode --debug --show_thread_logs
|
||||||
#python3 openfpga_flow/scripts/run_fpga_task.py s298
|
#python3 openfpga_flow/scripts/run_fpga_task.py s298
|
||||||
|
|
||||||
# echo -e "Testing multi-mode architectures";
|
echo -e "Testing multi-mode architectures";
|
||||||
# python3 openfpga_flow/scripts/run_fpga_task.py blif_vpr_flow --maxthreads 4
|
python3 openfpga_flow/scripts/run_fpga_task.py blif_vpr_flow --maxthreads 4
|
||||||
|
|
||||||
# echo -e "Testing compact routing techniques";
|
echo -e "Testing compact routing techniques";
|
||||||
# python3 openfpga_flow/scripts/run_fpga_task.py compact_routing
|
python3 openfpga_flow/scripts/run_fpga_task.py compact_routing
|
||||||
|
|
||||||
# echo -e "Testing tileable architectures";
|
echo -e "Testing tileable architectures";
|
||||||
# python3 openfpga_flow/scripts/run_fpga_task.py tileable_routing
|
python3 openfpga_flow/scripts/run_fpga_task.py tileable_routing
|
||||||
|
|
||||||
# echo -e "Testing Verilog generation with explicit port mapping ";
|
echo -e "Testing Verilog generation with explicit port mapping ";
|
||||||
# python3 openfpga_flow/scripts/run_fpga_task.py explicit_verilog
|
python3 openfpga_flow/scripts/run_fpga_task.py explicit_verilog
|
||||||
|
|
||||||
end_section "OpenFPGA.TaskTun"
|
end_section "OpenFPGA.TaskTun"
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue