mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 09:43:51 +08:00
* use docker buildkit * enable push * try this caching * no regressions * don't copy into the image * move that * getting there * debug * little smaller * debug * configure safe dir * no sudo * cleanup * another timeout
17 lines
461 B
Bash
Executable File
17 lines
461 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
: "${CPPCHECK_DIR:=$DIR/cppcheck/}"
|
|
|
|
if [ ! -d "$CPPCHECK_DIR" ]; then
|
|
git clone https://github.com/danmar/cppcheck.git $CPPCHECK_DIR
|
|
fi
|
|
|
|
cd $CPPCHECK_DIR
|
|
git fetch
|
|
git checkout e1cff1d1ef92f6a1c6962e0e4153b7353ccad04c
|
|
git -c user.name=a -c user.email="a@b.c" cherry-pick 7199dde1618b5166735f07619dcdb9f4eafdb557
|
|
make clean
|
|
make MATCHCOMPILTER=yes CXXFLAGS="-O2" -j8
|