Add support for Analog Discovery 3 #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# build.yml - GitHub build action for dwfpy | |
# Copyright (C) 2022 Marius Greuel | |
# | |
# SPDX-License-Identifier: MIT | |
# | |
name: Build | |
on: | |
push: | |
pull_request: | |
workflow_call: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install Dependencies | |
run: pip install -r requirements.txt | |
- name: Check pylint, mypy, black | |
run: make check | |
- name: Build | |
run: make build | |
- name: Archive build artifacts | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: distribution | |
path: dist/ |