-
-
Notifications
You must be signed in to change notification settings - Fork 334
49 lines (45 loc) · 2.29 KB
/
run_matlab.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Run Matlab Tests
on: [push, pull_request]
jobs:
RunMatlabLinux:
runs-on: ubuntu-20.04
steps:
- name: Check out repository
uses: actions/checkout@v2
- 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 -DBUILD_ONNX=ON -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/installed -DCMAKE_BUILD_TYPE=Release ..
make
make install
- name: Set up Matlab
uses: matlab-actions/setup-matlab@v1
- name: Run Signal Processing Test
uses: matlab-actions/run-command@v1
with:
command: addpath('matlab_package/brainflow'),addpath('matlab_package/brainflow/examples'),addpath('matlab_package/brainflow/inc'),addpath('matlab_package/brainflow/lib'),SignalFiltering
- name: Run Transforms Test
uses: matlab-actions/run-command@v1
with:
command: addpath('matlab_package/brainflow'),addpath('matlab_package/brainflow/examples'),addpath('matlab_package/brainflow/inc'),addpath('matlab_package/brainflow/lib'),Transforms
- name: Run EEG Mertrics Test
uses: matlab-actions/run-command@v1
with:
command: addpath('matlab_package/brainflow'),addpath('matlab_package/brainflow/examples'),addpath('matlab_package/brainflow/inc'),addpath('matlab_package/brainflow/lib'),EEGMetrics
- name: Run CSP Test
uses: matlab-actions/run-command@v1
with:
command: addpath('matlab_package/brainflow'),addpath('matlab_package/brainflow/examples'),addpath('matlab_package/brainflow/inc'),addpath('matlab_package/brainflow/lib'),CSP
- name: Run Spo2 Test
uses: matlab-actions/run-command@v1
with:
command: addpath('matlab_package/brainflow'),addpath('matlab_package/brainflow/examples'),addpath('matlab_package/brainflow/inc'),addpath('matlab_package/brainflow/lib'),Spo2
- name: Run ICA Test
uses: matlab-actions/run-command@v1
with:
command: addpath('matlab_package/brainflow'),addpath('matlab_package/brainflow/examples'),addpath('matlab_package/brainflow/inc'),addpath('matlab_package/brainflow/lib'),ICA