Permalink
Browse files

Build onnc with automake in Travis

In addition to CMake, I also added automake building commands to Travis
to check both building system.
  • Loading branch information...
LuisHsu committed Sep 5, 2018
1 parent a634882 commit 5a1e8b54c843725933e7adb67a80dd79abe5293d
Showing with 6 additions and 3 deletions.
  1. +6 −3 .travis.yml
@@ -23,6 +23,9 @@ matrix:
- "sudo docker start container"

script:
- sudo docker exec -t container /bin/bash -c "mkdir ~/build"
- sudo docker exec -t container /bin/bash -c "cd ~/build && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../install .."
- sudo docker exec -t container /bin/bash -c "cd ~/build && make -j12 install"
- sudo docker exec -t container /bin/bash -c "mkdir ~/build-cmake"
- sudo docker exec -t container /bin/bash -c "cd ~/build-cmake && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../install-cmake .."
- sudo docker exec -t container /bin/bash -c "cd ~/build-cmake && make -j8 install"
- sudo docker exec -t container /bin/bash -c "mkdir ~/build-automake"
- sudo docker exec -t container /bin/bash -c "~/autogen.sh"
- sudo docker exec -t container /bin/bash -c "cd ~/build-automake && ../configure --with-llvm=/usr/local --with-skypat=/usr/local --with-onnx=/usr/local --enable-unittest && make -j8 install"

0 comments on commit 5a1e8b5

Please sign in to comment.