update actions #135
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: hdl_synthesis | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
synthesis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Pull docker images | |
run: | | |
docker pull hdlc/ghdl:yosys | |
docker pull hdlc/nextpnr:ice40 | |
docker pull hdlc/icestorm | |
- name: Run synthesis, pnr and packing | |
env: | |
USE_CONTAINERS: 1 | |
run: | | |
cd syn | |
make | |
- name: Upload results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: output | |
path: | | |
syn/remote.json | |
syn/remote.asc | |
syn/remote.bin |