Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ on: [push, pull_request]
jobs:
cppcheck:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
- name: Install CppCheck
timeout-minutes: 15
run: |
if [[ -f /etc/apt/apt-mirrors.txt ]]; then
sudo sed -i '/azure\.archive\.ubuntu\.com/d' /etc/apt/apt-mirrors.txt
fi
sudo -H apt-get update -y
sudo -H apt-get install cppcheck
sudo -H apt-get install -y cppcheck
env:
DEBIAN_FRONTEND: noninteractive
- name: Run Cppcheck
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ jobs:
shell: cmd
- name: PSD Welch Nyquist Overlap Python Test
run: python %GITHUB_WORKSPACE%\python_package\examples\tests\psd_welch_nyquist_overlap.py
shell: cmd
- name: Wavelet Buffer Size Python Test
run: python %GITHUB_WORKSPACE%\python_package\examples\tests\wavelet_buffer_size.py
shell: cmd
Expand Down
25 changes: 9 additions & 16 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: [push, pull_request]
jobs:
RunValgrind:
runs-on: ${{ matrix.os }}
timeout-minutes: 90

strategy:
fail-fast: false
Expand All @@ -15,15 +16,19 @@ jobs:
steps:
# compile and prepare env
- name: Clone Repository
uses: actions/checkout@v2
uses: actions/checkout@v7
- name: Setup CMake
uses: lukka/get-cmake@v4.3.2
with:
cmakeVersion: '3.21.4'
- name: Install Dependencies
timeout-minutes: 20
run: |
if [[ -f /etc/apt/apt-mirrors.txt ]]; then
sudo sed -i '/azure\.archive\.ubuntu\.com/d' /etc/apt/apt-mirrors.txt
fi
sudo -H apt-get update -y
sudo -H apt-get install -y libbluetooth-dev
sudo -H apt-get install -y libbluetooth-dev valgrind python3-setuptools python3-pygments
env:
DEBIAN_FRONTEND: noninteractive
- name: Compile BrainFlow
Expand Down Expand Up @@ -54,22 +59,10 @@ jobs:
cd build
cmake -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/installed -DCMAKE_BUILD_TYPE=Debug ..
make
- name: Install Valgrind
run: |
sudo -H apt-get update -y
sudo -H apt-get install -y valgrind
env:
DEBIAN_FRONTEND: noninteractive
- name: Install Python 3.10
uses: actions/setup-python@v5
- name: Install Python 3.11
uses: actions/setup-python@v7
with:
python-version: '3.11'
- name: Install Python Dependencies
run: |
sudo -H apt-get update -y
sudo -H apt-get install -y python3-setuptools python3-pygments
env:
DEBIAN_FRONTEND: noninteractive
- name: Install Emulator
run: |
cd $GITHUB_WORKSPACE/emulator
Expand Down
Loading