Skip to content

Commit bddafb7

Browse files
Fix: install clang-format-6
1 parent bcac1d2 commit bddafb7

1 file changed

Lines changed: 22 additions & 5 deletions

File tree

.github/workflows/psv_pipelines.yml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)