CI: temp disable t720/t760 jobs.
[mesa.git] / .gitlab-ci / build-renderdoc.sh
1 #!/bin/bash
2
3 set -ex
4
5 RENDERDOC_VERSION=da02e88201dc3b64316fc33ce6ff69cc729689aa
6
7 git clone https://github.com/baldurk/renderdoc.git --single-branch --no-checkout /renderdoc
8 pushd /renderdoc
9 git checkout "$RENDERDOC_VERSION"
10 cmake -G Ninja -B_build -H. -DENABLE_QRENDERDOC=false -DCMAKE_BUILD_TYPE=Release $EXTRA_CMAKE_ARGS
11 ninja -C _build
12 mkdir -p build/lib
13 ${STRIP_CMD:-strip} _build/lib/*.so
14 cp _build/lib/renderdoc.so build/lib
15 cp _build/lib/librenderdoc.so build/lib
16 find . -not -path './build' -not -path './build/*' -delete
17 popd