File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : code checks
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ lint :
11+ name : lint Python files
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : install flake8
15+ run : pipx install flake8
16+ - name : checkout
17+ uses : actions/checkout@v4
18+ - name : run flake8
19+ run : flake8 --exclude 'bindings' python/wisun
20+
21+ build_and_test :
22+ name : build & test
23+ runs-on : ubuntu-latest
24+ steps :
25+ - name : checkout
26+ uses : actions/checkout@v4
27+ - name : install dependencies
28+ run : |
29+ sudo apt-get update
30+ sudo apt-get install -y \
31+ build-essential \
32+ cmake \
33+ doxygen \
34+ git \
35+ gnuradio \
36+ gnuradio-dev
37+ - name : build
38+ run : |
39+ mkdir build
40+ cd build
41+ cmake ..
42+ make
43+ - name : run tests
44+ run : |
45+ cd build
46+ make TEST_ARGS="--output-on-failure" test
You can’t perform that action at this time.
0 commit comments