File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -278,8 +278,25 @@ jobs:
278278 name : PSV.Clang.Format.Checker
279279 runs-on : ubuntu-22.04
280280 steps :
281- - name : Check out repository
282- uses : actions/checkout@v4
283- - name : " Clang format checker script"
284- run : ./scripts/misc/clang_format_ci.sh
285- shell : bash
281+ - name : Check out repository
282+ uses : actions/checkout@v4
283+ - name : Setup environment
284+ run : |
285+ set +x
286+ set -e
287+ sudo apt-get update
288+ sudo apt-get install -y wget libedit2 libtinfo5 python2
289+ alias python=python2
290+ mkdir _os_deps
291+ cd _os_deps
292+ wget https://apt.llvm.org/bionic/pool/main/l/llvm-toolchain-6.0/clang-format-6.0_6.0.1~svn334776-1~exp1~20190309042703.125_amd64.deb
293+ wget https://apt.llvm.org/bionic/pool/main/l/llvm-toolchain-6.0/libllvm6.0_6.0.1~svn334776-1~exp1~20190309042703.125_amd64.deb
294+ wget http://old-releases.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-9_amd64.deb
295+ sudo dpkg -i libffi6_3.2.1-9_amd64.deb
296+ sudo dpkg -i libllvm6.0_6.0.1~svn334776-1~exp1~20190309042703.125_amd64.deb
297+ sudo dpkg -i --force-depends clang-format-6.0_6.0.1~svn334776-1~exp1~20190309042703.125_amd64.deb
298+ cd ..
299+ shell : bash
300+ - name : " Clang format checker script"
301+ run : ./scripts/misc/clang_format_ci.sh
302+ shell : bash
You can’t perform that action at this time.
0 commit comments