Skip to content

Continuous Integration #16

Continuous Integration

Continuous Integration #16

Workflow file for this run

name: CI
run-name: Continuous Integration
on: [push]
jobs:
CI:
name: Continuous Integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: tools.tar.gz
key: tools_v1
- name: Fetch nextpnr-ecp5 and Yosys
if: steps.cache.outputs.cache-hit != 'true'
run: wget https://github.com/fallen/yosys_nextpnr_tools_for_ci/blob/main/tools.tar.gz
- name: Save nextpnr-ecp5 and Yosys in GitHub cache
uses: actions/cache/save@v3
with:
path: tools.tar.gz
key: tools_v1
- name: Install nextpnr-ecp5 and Yosys
run: tar -C / -xf $PWD/tools.tar.gz
- name: Install Python requirements
run: |
sudo apt-get -y install python3-pip
sudo -H pip3 install --upgrade pip
pip install pipenv
pipenv install --ignore-pipfile
- name: Build the FPGA bitstream
run: |
nextpnr-ecp5 --version
yosys --version
pipenv run python3 ./sucrela.py --build