Skip to content

GitHub Actions: Force setuptools upgrade for newer build file layout #616

GitHub Actions: Force setuptools upgrade for newer build file layout

GitHub Actions: Force setuptools upgrade for newer build file layout #616

Workflow file for this run

name: Unit tests
on: push
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo rm -rf /home/linuxbrew
sudo apt-get update -y
sudo apt-get install libasound2-dev libsoundio-dev libsndfile1-dev fftw3-dev -y
sudo apt-get install python3 python3-setuptools python3-pip
sudo pip3 install -U pytest numpy scipy setuptools>=62.1.0
- name: Configure
run: mkdir build && cd build && cmake ..
- name: Make
run: cd build && make -j8
- name: Python build
run: python3 setup.py build
- name: Python test
run: python3 setup.py test