-
Notifications
You must be signed in to change notification settings - Fork 102
29 lines (26 loc) · 793 Bytes
/
Copy pathasan.yml
File metadata and controls
29 lines (26 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Address Sanitizer
on: [push, pull_request]
jobs:
asan:
runs-on: ubuntu-20.04
timeout-minutes: 10
env:
CC: gcc
steps:
- uses: actions/checkout@v3
- name: Retrieve test compression corpus
run: |
git clone https://github.com/ariya/compression-corpus.git
cd compression-corpus
cd enwik
unzip enwik8.zip
- run: sudo apt install -y make gcc
- run: gcc --version
- run: cd tests && make roundtrip
name: Perform round-trip tests
env:
CFLAGS: "-g -fno-omit-frame-pointer -fsanitize=address"
- run: cd tests && make roundtrip
name: Perform round-trip tests with FASTLZ_USE_MEMMOVE=0
env:
CFLAGS: "-g -fno-omit-frame-pointer -fsanitize=address -DFASTLZ_USE_MEMMOVE=0"