Skip to content

Use system packages #154

Use system packages

Use system packages #154

Workflow file for this run

name: Check code style
on: [pull_request]
jobs:
clang-format:
runs-on: ubuntu-22.04
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Run clang-format
run: |
set -x
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
tar -xmf clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
mv clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04 ../llvm
CLANG_FORMAT=../llvm/bin/clang-format ./test-clang-format.sh
- run: echo "🍏 This job's status is ${{ job.status }}."