Skip to content

Commit

Permalink
Merge pull request #208 from vgteam/safe_github_action
Browse files Browse the repository at this point in the history
Safe GitHub action
  • Loading branch information
AndreaGuarracino authored Jan 11, 2021
2 parents 4782fa2 + 72107f0 commit 4e646d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ before_install:
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9
- sudo apt-get update -qy; sudo apt-get install -qy python-dev python3-dev python3.8-dev
script:
- cmake -H. -Bbuild && cmake --build build -- -j 4 && echo Testing && bin/odgi test && cd lib && ls -l && python3.8 -c 'import odgi; g = odgi.graph()'
- sed -i 's/CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS} -O3 -mcx16 -g/CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O -mcx16 -g -fsanitize=address/g' CMakeLists.txt
- sed -i 's/CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS} -O3 -mcx16 -g/CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O -mcx16 -g -fsanitize=address/g' CMakeLists.txt
- cmake -H. -Bbuild && cmake --build build -- -j 4 && echo Testing && ASAN_OPTIONS=detect_leaks=1:symbolize=1 LSAN_OPTIONS=verbosity=0:log_threads=1 bin/odgi test
- export ASAN_OPTIONS=verify_asan_link_order=0
- cd lib && ls -l && python3.8 -c 'import odgi; g = odgi.graph()'
2 changes: 1 addition & 1 deletion deps/pybind11
Submodule pybind11 updated 206 files

0 comments on commit 4e646d3

Please sign in to comment.