1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00

ci: avoid ASAN related failures on build_bootloader_emu

The build job is setting too many variables. The sconscript is
responsible for those, but bootloader_emu does not support ASAN and does
not have the right linker flags to make "-Z sanitizer=address" work. We
don't care because bootloader emulator is not used in the test suite so
we couldn't catch anything with ASAN anyway.
This commit is contained in:
matejcik 2024-05-09 14:23:45 +02:00 committed by matejcik
parent 447c680b88
commit 5f0d028a83

View File

@ -109,8 +109,6 @@ jobs:
BITCOIN_ONLY: ${{ matrix.coins == 'universal' && '0' || '1' }}
PYOPT: ${{ matrix.type == 'debuglink' && '0' || '1' }}
ADDRESS_SANITIZER: ${{ matrix.asan == 'asan' && '1' || '0' }}
RUSTC_BOOTSTRAP: ${{ matrix.asan == 'asan' && '1' || '0' }}
RUSTFLAGS: ${{ matrix.asan == 'asan' && '-Z sanitizer=address' || '' }}
LSAN_OPTIONS: "suppressions=../../asan_suppressions.txt"
steps:
- uses: actions/checkout@v4