cmds: static variable used stack after return #948
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "PR test" | |
on: pull_request | |
jobs: | |
unit-test-with-asan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "checkout" | |
uses: actions/checkout@v4 | |
- name: "install dependencies" | |
run: sudo ./misc/install-deps.sh -y | |
- name: "configure build env" | |
run: ./configure | |
- name: "build the source" | |
run: make ASAN=1 DEBUG=1 | |
- name: "run unit tests" | |
run: make unittest ASAN=1 DEBUG=1 TESTARG="-v" | |
pre-commit-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "check out uftrace source" | |
uses: actions/checkout@v4 | |
- name: "install dependencies" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: "run pre-commit" | |
uses: pre-commit/action@v3.0.1 |