Skip to content

Commit

Permalink
CI: Add job "asan" to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
solardiz committed Jan 5, 2024
1 parent 8af6828 commit e9626ae
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .ci/run-build-and-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ nproc="$(nproc)" || nproc=1
j="-j$nproc"

cd src
time ./configure
time ./configure $*
time make $j
time make $j check
if [ "$1" = "--enable-fuzz" ]; then
time ../run/john --fuzz=500
fi

if git status --porcelain |grep ^.; then
echo >&2 'git status reported uncleanness'
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ jobs:
- name: check
run: git diff-index --check --cached b1b622f691d40196815939e4736a5da71befd206

asan:
runs-on: ubuntu-latest
env:
CC: gcc-13
TARGET: x86_64
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: .ci/install-dependencies.sh
- name: build check
run: .ci/run-build-and-tests.sh --enable-fuzz --enable-asan

gcc13-x86_64:
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit e9626ae

Please sign in to comment.