Update Galea serial default setting and log gains #17
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: Run libFTDI | |
on: [push, pull_request] | |
jobs: | |
RunlibFTDI: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
os: [ubuntu-20.04] | |
steps: | |
# compile and prepare env | |
- name: Clone Repository | |
uses: actions/checkout@v2 | |
- name: Install Python 3.7 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.7.7' | |
architecture: 'x64' | |
- name: Install Ubuntu Dependencies | |
if: (matrix.os == 'ubuntu-20.04') | |
run: | | |
sudo -H apt-get update -y | |
sudo -H apt-get install -y python3-setuptools python3-pygments libftdi1-dev | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
- name: Setup Cmake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.16.x' | |
- name: Compile BrainFlow | |
run: | | |
mkdir $GITHUB_WORKSPACE/build | |
cd $GITHUB_WORKSPACE/build | |
cmake -DWARNINGS_AS_ERRORS=ON -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/installed -DCMAKE_BUILD_TYPE=Release -DUSE_LIBFTDI=ON .. | |
make | |
make install | |
- name: Setup Python Package | |
run: | | |
cd $GITHUB_WORKSPACE/python_package | |
sudo -H python3 -m pip install -U . | |
- name: Install Emulator | |
run: | | |
cd $GITHUB_WORKSPACE/emulator | |
sudo -H python3 -m pip install -U . | |
- name: Install Python test Dependencies | |
run: sudo -H python3 -m pip install -r $GITHUB_WORKSPACE/python_package/examples/tests/requirements.txt | |
# start testing | |
- name: Cyton Python | |
run: sudo -H python3 ./emulator/brainflow_emulator/cyton_linux.py python3 $GITHUB_WORKSPACE/python_package/examples/tests/brainflow_get_data.py --board-id 0 --serial-port |