Closed gatecat closed 2 years ago
I was initially trying with actions/setup-python
but I couldn't get it to work with pyqt5 (as pip pyqt5 requires too new a Qt version, so system pyqt5 and hence system python is easier)
How to use actions/checkout@2 for external repos:
# While cloning the repository:
# - it clones the repo into the given `path`
# - it checks out the branch defined at `ref`
- name: Clone supercharge docs repository
uses: actions/checkout@v2
with:
repository: supercharge/docs
path: resources/docs/2.x
ref: 2.x
This only sets up the tools and run Amaranth -> GDS; it doesn't do DRC or any other checks on the resulting GDS.
The way the tools are set up could perhaps be improved longer term; for now it's cribbed from how nextpnr does it which has worked well enough in practice.