Skip to content

add lifcl (lattice crosslink-nx) eval board definition file, fix indexing starting at 1 for ecp5 #670

add lifcl (lattice crosslink-nx) eval board definition file, fix indexing starting at 1 for ecp5

add lifcl (lattice crosslink-nx) eval board definition file, fix indexing starting at 1 for ecp5 #670

Workflow file for this run

on:
push:
pull_request:
schedule:
- cron: '0 0 * * *' # test daily against git HEAD of dependencies
name: CI
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.7'
# this version range needs to be synchronized with the one in pyproject.toml
amaranth-version:
- '0.3'
- 'git'
fail-fast: false
steps:
- name: Check out source code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Amaranth release
if: ${{ matrix.amaranth-version != 'git' }}
run: |
pip install 'amaranth==${{ matrix.amaranth-version }}'
- name: Downgrade MarkupSafe
if: ${{ matrix.amaranth-version == '0.3' }}
run: |
pip install 'MarkupSafe==2.0.1'
- name: Install Amaranth from git
if: ${{ matrix.amaranth-version == 'git' }}
run: |
pip install git+https://github.com/amaranth-lang/amaranth.git
- name: Test
run: |
python -m unittest discover -t . -s amaranth_boards -p '*.py'