Skip to content

Commit

Permalink
Try using more recent clang tools
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 15, 2021
1 parent 8740c55 commit 9d4c888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang_static_analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:

clang_static_analyzer:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/clang_static_analyzer/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@ set -e
sudo apt update

DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommends \
autoconf automake libtool g++ make jq

CLANG_LLVM=clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04
wget -nv https://releases.llvm.org/9.0.0/$CLANG_LLVM.tar.xz
tar xJf $CLANG_LLVM.tar.xz
mv $CLANG_LLVM clang+llvm-9

export PATH=$PWD/clang+llvm-9/bin:$PATH
libtool g++ make jq clang-tools

# prepare build files
mkdir -p build
Expand Down

0 comments on commit 9d4c888

Please sign in to comment.