mirror of
https://git.sr.ht/~kivikakk/niar
synced 2024-12-23 08:22:24 +00:00
37 lines
663 B
YAML
37 lines
663 B
YAML
name: Synthesis
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
synthesis:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
board:
|
|
- icebreaker
|
|
- ulx3s
|
|
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install pip dependencies
|
|
run: pip install --editable .
|
|
|
|
- uses: kivikakk/niar/setup-action@main
|
|
with:
|
|
install-oss-cad-suite: true
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Elaborate and synthesise
|
|
run: python -m ili9341spi build -b ${{ matrix.board }}
|