mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
travis: Use pre-built image for clang-format target
This commit is contained in:
parent
fc9d8afead
commit
34eaf3a366
3 changed files with 2 additions and 5 deletions
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
|
|
||||||
docker run -v $(pwd):/yuzu ubuntu:18.04 /bin/bash -ex /yuzu/.travis/clang-format/docker.sh
|
docker run --env-file .travis/common/travis-ci.env -v $(pwd):/yuzu -v "$HOME/.ccache":/root/.ccache citraemu/build-environments:linux-clang-format /bin/bash -ex /yuzu/.travis/clang-format/docker.sh
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
|
|
||||||
docker pull ubuntu:18.04
|
docker pull citraemu/build-environments:linux-clang-format
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y clang-format-6.0
|
|
||||||
|
|
||||||
# Run clang-format
|
# Run clang-format
|
||||||
cd /yuzu
|
cd /yuzu
|
||||||
./.travis/clang-format/script.sh
|
./.travis/clang-format/script.sh
|
||||||
|
|
Loading…
Reference in a new issue