mirror of https://github.com/sipwise/libtcap.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
742 B
31 lines
742 B
name: Clang Analyze
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout source
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Get build dependencies
|
|
run: |
|
|
# note: debhelper v13 isn't available from ubuntu-20.04 yet, we need a backport
|
|
sudo apt-add-repository -y ppa:ubuntu-cloud-archive/yoga-staging
|
|
sudo apt-get install -q -y --no-install-recommends clang-tools
|
|
sudo apt-get build-dep -q -y .
|
|
|
|
- name: Analyze
|
|
run: |
|
|
scan-build -o clang-analyze/ make
|
|
|
|
- name: Store artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Clang Analyze results
|
|
path: clang-analyze/
|