Skip to content

asan check

asan check #1

Workflow file for this run

name: asan check
on:
workflow_dispatch:
inputs:
ref:
required: false
jobs:
asan:
runs-on: ubuntu-22.04
strategy:
fail-fast: true
steps:
- name: checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.ref }}
- name: asan build
run: |
otp_prebuilds=otp-26.2.5.3-ubuntu-22.04.tar.gz
wget https://github.com/qzhuyan/kerl/releases/download/test2/${otp_prebuilds}
tar zxvf ${otp_prebuilds} -C /
ln -s /home/runner/OTP/otp-26.2.5.3/ /home/runner/OTP/default
echo ". /home/runner/OTP/default/activate" >> ~/.bashrc
- name: download rebar3
run: |
wget https://s3.amazonaws.com/rebar3/rebar3
chmod a+x rebar3
mkdir -p $HOME/bin/
mv rebar3 $HOME/bin/
- name: run sanitizer-check
run: |
export PATH=$PATH:$HOME/bin/
. /home/runner/OTP/default/activate
tools/run/bin/sanitizer-check all
- name: Archive asan logs
uses: actions/upload-artifact@v3
with:
name: asan_logs
path: asan_logs
retention-days: 7