From 5e57dad444c13abfa3bdd8bb7b3d18429eb7b3d5 Mon Sep 17 00:00:00 2001 From: William Yang Date: Tue, 22 Oct 2024 08:47:42 +0200 Subject: [PATCH] ci: add asan check (#312) [no ci] --- .github/workflows/asan.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/asan.yml b/.github/workflows/asan.yml index 54a8a860..6b692b71 100644 --- a/.github/workflows/asan.yml +++ b/.github/workflows/asan.yml @@ -18,12 +18,19 @@ jobs: - name: asan build run: | otp_prebuilds=otp-26.2.5.3-ubuntu-22.04.tar.gz - wget https://github.com/qzhuyan/kerl/releases/download/testing/${otp_prebuilds} + 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