picorv32/.github/workflows/ci.yml

25 lines
925 B
YAML

name: build-openlane-sky130
on: [push]
jobs:
build-picorv32:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
path: picorv32
- name: Checkout pdk
uses: actions/checkout@v2
with:
repository: olofk/pdklite
path: pdklite
- run: echo "PDK_ROOT=$GITHUB_WORKSPACE/pdklite" >> $GITHUB_ENV
- run: echo "EDALIZE_LAUNCHER=${GITHUB_WORKSPACE}/openlane_runner.py" >> $GITHUB_ENV
- run: pip3 install --user -e "git+https://github.com/olofk/edalize.git#egg=edalize"
- run: pip3 install fusesoc
- run: docker pull efabless/openlane:v0.12
- run: wget https://raw.githubusercontent.com/olofk/subservient/main/openlane_runner.py
- run: chmod +x openlane_runner.py
- run: fusesoc library add fpganes $GITHUB_WORKSPACE/picorv32
- run: fusesoc run --target=sky130 picorv32