mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-25 11:26:22 +00:00
Update CI scripts for CMake
This commit is contained in:
parent
cad5353a2a
commit
ba6083da16
30 changed files with 315 additions and 327 deletions
|
|
@ -5,6 +5,7 @@ from pathlib import Path
|
|||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
import os
|
||||
|
||||
# basic logging setup
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
|
@ -17,7 +18,7 @@ THIS_FILE = (TESTS_DIR / "macro_commands.py").relative_to(ROOT_DIR)
|
|||
MACRO_SOURCE = TESTS_DIR.parent / "source" / "code_examples" / "macro_commands"
|
||||
assert MACRO_SOURCE.exists(), f"can't find macro_commands in {MACRO_SOURCE}"
|
||||
|
||||
YOSYS = ROOT_DIR / "yosys"
|
||||
YOSYS = Path(os.environ.get("YOSYS", ROOT_DIR / "yosys"))
|
||||
assert YOSYS.exists(), f"can't find yosys executable in {YOSYS}"
|
||||
|
||||
raise_error = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue