YosysHQ / yosys

Yosys Open SYnthesis Suite
https://yosyshq.net/yosys/
ISC License
3.5k stars 895 forks source link

actions: vendor sources with submodules for releases #4668

Closed widlarizer closed 1 month ago

widlarizer commented 1 month ago

We like submodules for SBOM reasons and prefer them over in-repo vendored libraries. However this creates a burden on users with needs for gitless workflows who have to take our (yosys) source tarball, drop in our other (yosys-abc) source tarball, manually check submodules versions at the git tag, download those, and only then build yosys. An alternate solution is to add Makefile targets like curl-abc #4472 but that needs per-submodule work. This PR adds a workflow which on main commits creates a source tarball artifact including submodule sources