- uses: actions/checkout@v2
- uses: YosysHQ/setup-oss-cad-suite@v1
- name: Run checks
- run: tabbypip install xmlschema && make ci
+ run: tabbypip install xmlschema && make ci NOSKIP=1
make/rules/test/%.mk:
python3 make/test_rules.py $<
+ifdef NOSKIP
+SKIP_COMMAND := echo "NOSKIP was set, treating this as an error"; echo; false
+else
+SKIP_COMMAND := echo
+endif
+
ifneq (help,$(MAKECMDGOALS))
# This should run every time but only trigger anything depending on it whenever
if missing_tools:
print(
- f"\t@echo; echo 'SKIPPING {target}: {', '.join(missing_tools)} not found'; echo",
+ f"\t@echo; echo 'SKIPPING {target}: {', '.join(missing_tools)} not found'; $(SKIP_COMMAND)",
file=rules,
)