26 lines
785 B
YAML
26 lines
785 B
YAML
name: build_examples
|
|
on: [push]
|
|
jobs:
|
|
examples:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install Manta from source
|
|
run: |
|
|
pip install setuptools --upgrade
|
|
|
|
# omitting the following commmand causes the version of setuptools
|
|
# used by python to get confused, and it doesn't detect the name
|
|
# or version of the package from pyproject.toml - so the following
|
|
# workaround is used:
|
|
# https://github.com/pypa/setuptools/issues/3269#issuecomment-1254507377
|
|
export DEB_PYTHON_INSTALL_LAYOUT=deb_system
|
|
|
|
python3 -m pip install .
|
|
|
|
- name: Build Nexys A7 examples
|
|
run: make nexys_a7
|
|
|
|
- name: Build Icestick examples
|
|
run: make icestick
|