1
0
mirror of synced 2026-05-01 06:00:26 +00:00

Fix building and running unit tests (#5374)

* Fix building and running unit tests

* Enable unit tests

* Add gtest always

* test-sanitizers.yml: Use makefile.conf

* proper test setup

* make it run on macOS

* Run libyosys build only for unit tests after testing is done

* Disable LTO on public CI

---------

Co-authored-by: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com>
This commit is contained in:
Miodrag Milanović
2025-09-23 17:10:18 +02:00
committed by GitHub
parent b586043647
commit fcc3d7132d
8 changed files with 53 additions and 13 deletions

View File

@@ -48,7 +48,7 @@ jobs:
echo "ENABLE_VERIFIC_YOSYSHQ_EXTENSIONS := 1" >> Makefile.conf
echo "ENABLE_CCACHE := 1" >> Makefile.conf
echo "ENABLE_HELP_SOURCE := 1" >> Makefile.conf
make -j$procs ENABLE_LTO=1
make -j$procs
- name: Prepare docs
shell: bash