File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 - BUILD_SUBDIR=${BUILD_SUBDIR:-.}
6666 - mkdir -p ${BUILD_SUBDIR} && cd ${BUILD_SUBDIR}
6767 - cmake ${TRAVIS_BUILD_DIR} -DCMAKE_C_FLAGS="$COMPILER_FLAGS" -DCMAKE_CXX_FLAGS="$COMPILER_FLAGS" -DCMAKE_INSTALL_PREFIX=install -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
68- - pwd
69- - ls
70- - cd ${TRAVIS_BUILD_DIR}
71- - pwd
72- - ls
7368 - ./clang-tidy-diff.sh
74- - cd -
7569 - make -j2 install
7670 - ./check.py --binaryen-bin=${BUILD_SUBDIR}/install/bin
7771
Original file line number Diff line number Diff line change 11#! /bin/bash
2+
3+ # In settings in which build directory is different than binaryen/, we don't
4+ # don't have this file in binaryen/, so we skip the test.
5+ if [ ! -f compile_commands.json ]
6+ exit 0
7+ fi
8+
29CLANG_DIR=$( dirname $( dirname $( which clang-tidy) ) )
310CLANG_TIDY_DIFF=$CLANG_DIR /share/clang/clang-tidy-diff.py
411MERGE_BASE=$( git merge-base master HEAD)
You can’t perform that action at this time.
0 commit comments