| 1 |
# SPDX-FileCopyrightText: Stone Tickle <[email protected]> |
| 2 |
# SPDX-License-Identifier: GPL-3.0-only |
| 3 |
|
| 4 |
image: debian/stable |
| 5 |
packages: |
| 6 |
- clang |
| 7 |
- libclang-rt-dev |
| 8 |
- llvm |
| 9 |
- gobjc |
| 10 |
|
| 11 |
sources: |
| 12 |
- https://git.sr.ht/~lattis/muon |
| 13 |
tasks: |
| 14 |
- bootstrap: | |
| 15 |
cd muon |
| 16 |
tools/ci/bootstrap.sh build |
| 17 |
|
| 18 |
- build_asan_ubsan: | |
| 19 |
cd muon |
| 20 |
build/muon setup -Db_sanitize=address,undefined build_asan_ubsan |
| 21 |
build/muon -C build_asan_ubsan samu |
| 22 |
|
| 23 |
- build_memsan: | |
| 24 |
cd muon |
| 25 |
CC=clang build/muon setup -Db_sanitize=memory build_memsan |
| 26 |
build/muon -C build_memsan samu |
| 27 |
|
| 28 |
- build_fortify_source: | |
| 29 |
cd muon |
| 30 |
CC=clang CFLAGS=-D_FORTIFY_SOURCE=3 build/muon setup build_fortify_source |
| 31 |
build/muon -C build_fortify_source samu |
| 32 |
|
| 33 |
- test_asan_ubsan: | |
| 34 |
cd muon/build_asan_ubsan |
| 35 |
./muon test -d dots |
| 36 |
|
| 37 |
- test_memsan: | |
| 38 |
cd muon/build_memsan |
| 39 |
./muon test -d dots |
| 40 |
|
| 41 |
- test_fortify_source: | |
| 42 |
cd muon/build_fortify_source |
| 43 |
./muon test -d dots |