Add loopback install. #37
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
name: CI Build LedFx | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-ledfx-linux: | |
name: Build LedFx (Ubuntu) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [3.8,3.9,3.10.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.8,3.9,3.10.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.8,3.9,3.10.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 | |