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
7 changes: 5 additions & 2 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ 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: |
sudo sed -i '/azure\.archive\.ubuntu\.com/d' /etc/apt/apt-mirrors.txt
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
23 changes: 7 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,17 @@ 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: |
sudo sed -i '/azure\.archive\.ubuntu\.com/d' /etc/apt/apt-mirrors.txt
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 +57,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