1
0
mirror of https://github.com/upx/upx synced 2025-10-12 20:59:43 +08:00
upx/.github/workflows/scan-build.yml
2023-02-05 17:20:32 +01:00

23 lines
635 B
YAML

name: 'Static Analyzer - scan-build'
on:
schedule:
- cron: '40 4 * * 3'
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
container: 'alpine:edge'
steps:
- name: 'Install packages'
run: 'apk update && apk upgrade && apk add bash clang clang-analyzer cmake g++ git make'
- name: 'Check out code'
uses: actions/checkout@v3
with: { submodules: true }
- name: 'Perform scan-build Analysis Debug'
run: 'make build/extra/scan-build/debug'
- name: 'Perform scan-build Analysis Release'
run: 'make build/extra/scan-build/release'