Skip to content

Build examples using YoWASP #120

Build examples using YoWASP

Build examples using YoWASP #120

name: Build examples using YoWASP
on:
schedule:
- cron: '0 0 * * 0'
jobs:
examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: install packages
run: |
python --version
pip --version
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ yowasp-yosys yowasp-nextpnr-gowin
- name: build examples
run: |
cd examples
YOSYS=yowasp-yosys NEXTPNR=yowasp-nextpnr-gowin make all
- name: Archive artifact
uses: actions/upload-artifact@v3
with:
name: bitstreams
path: examples/*.fs