File tree Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Create source archive with vendored dependencies
2+
3+ on : [push, workflow_dispatch]
4+
5+ jobs :
6+ vendor-sources :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Checkout repository with submodules
10+ uses : actions/checkout@v4
11+ with :
12+ submodules : ' recursive'
13+
14+ - name : Create clean tarball
15+ run : |
16+ git archive --format=tar HEAD -o yosys-src-vendored.tar
17+ git submodule foreach '
18+ git archive --format=tar --prefix="${sm_path}/" HEAD --output=${toplevel}/vendor-${name}.tar
19+ '
20+
21+ # 2008 bug https://lists.gnu.org/archive/html/bug-tar/2008-08/msg00002.html
22+ for file in vendor-*.tar; do
23+ tar --concatenate --file=yosys-src-vendored.tar "$file"
24+ done
25+
26+ gzip yosys-src-vendored.tar
27+
28+ - name : Store tarball artifact
29+ uses : actions/upload-artifact@v4
30+ with :
31+ name : vendored-sources
32+ path : yosys-src-vendored.tar.gz
33+ retention-days : 1
Original file line number Diff line number Diff line change 11[submodule "abc "]
22 path = abc
33 url = https://github.com/YosysHQ/abc
4- [submodule "libs/cxxopts "]
4+ # Don't use paths as names to avoid git archive problems
5+ [submodule "cxxopts "]
56 path = libs/cxxopts
67 url = https://github.com/jarro2783/cxxopts
Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ Yosys is free software licensed under the ISC license (a GPL
3333compatible license that is similar in terms to the MIT license
3434or the 2-clause BSD license).
3535
36+ Third-party software distributed alongside this software
37+ is licensed under compatible licenses.
38+ Please refer to ` abc ` and ` libs ` subdirectories for their license terms.
3639
3740Web Site and Other Resources
3841============================
You can’t perform that action at this time.
0 commit comments