Skip to content

Bump up pre-commit. #52

Bump up pre-commit.

Bump up pre-commit. #52

Workflow file for this run

name: CI Build LedFx
on:
push:
pull_request:
jobs:
build-ledfx-linux:
name: Build LedFx (Ubuntu)
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.9,3.10.x,3.11.x,3.12.x]
steps:
- name: Check out code from GitHub
uses: actions/checkout@v3
- name: Install build dependencies
run: |
sudo apt-get update && sudo apt-get install -y \
gcc libatlas3-base portaudio19-dev
- name: Setup Python ${{ matrix.python }}
id: python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install poetry
run: |
pipx install poetry
- name: Build a binary wheel
run: |
poetry build
- name: Install LedFx
run: |
poetry install
build-ledfx-windows:
name: Build LedFx (Windows)
runs-on: windows-latest
strategy:
matrix:
python: [3.9,3.10.x,3.11.x,3.12.x]
steps:
- name: Check out code from GitHub
uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python }}
id: python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install poetry
run: |
pipx install poetry
- name: Build a binary wheel
run: |
poetry build
- name: Install LedFx
run: |
poetry install
build-ledfx-osx:
name: Build LedFx (OS X)
runs-on: macos-latest
strategy:
matrix:
python: [3.9,3.10.x,3.11.x,3.12.x]
steps:
- name: Check out code from GitHub
uses: actions/checkout@v3
- name: Install build dependencies
run: |
brew install portaudio
- name: Setup Python ${{ matrix.python }}
id: python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install poetry
run: |
pipx install poetry
- name: Build a binary wheel
run: |
poetry build
- name: Install LedFx
run: |
poetry install
# build-ledfx-frontend:
# name: Build LedFx Frontend
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [10, 12, 14]
# steps:
# - name: Check out code from GitHub
# uses: actions/checkout@v3
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}
# - name: Install yarn
# run: |
# npm install -g yarn
# - name: Run yarn install and build
# run: |
# cd frontend
# yarn
# yarn build
# env:
# CI: true