mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 18:25:45 +00:00
Use Docker for Build Target clang-format for travis.
This uses the (apparently) more stable Ubuntu Repo instead of the LLVM one.
This commit is contained in:
parent
b92fb5716b
commit
f6e539839a
4 changed files with 18 additions and 9 deletions
3
.travis/clang-format/build.sh
Executable file
3
.travis/clang-format/build.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
docker run -v $(pwd):/yuzu ubuntu:18.04 /bin/bash /yuzu/.travis/clang-format/docker.sh
|
3
.travis/clang-format/deps.sh
Executable file
3
.travis/clang-format/deps.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh -ex
|
||||
|
||||
docker pull ubuntu:18.04
|
8
.travis/clang-format/docker.sh
Executable file
8
.travis/clang-format/docker.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
apt-get update
|
||||
apt-get install -y clang-format-6.0
|
||||
|
||||
# Run clang-format
|
||||
cd /yuzu
|
||||
./.travis/clang-format/script.sh
|
Loading…
Add table
Add a link
Reference in a new issue