File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - name : deps
1818 run : |
1919 sudo apt-get install -y $APT_DEPS
20- pip3 install $PIP_DEPS
20+ sudo pip3 install --system $PIP_DEPS
2121 - name : build
2222 run : cmake -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} -B build . && cmake --build build -j $(nproc)
2323 - name : test
3232 - name : build loaders
3333 run : |
3434 sudo apt-get install -y $APT_DEPS
35- pip3 install $PIP_DEPS
35+ sudo pip3 install --system $PIP_DEPS
3636 cmake -DCMAKE_BUILD_TYPE=Release -B build . && cmake --build build -j $(nproc)
3737 rm build/libgenomicsqlite.so
3838 sudo apt-get remove -y libzstd-dev # should be linked into libgenomicsqlite.so
4444 with :
4545 name : GenomicSQLite-Linux-x86_64-so-${{ env.GIT_REVISION }}
4646 path : build/libgenomicsqlite.so
47+
48+ lint :
49+ runs-on : ubuntu-20.04
50+ steps :
51+ - uses : actions/checkout@v2
52+ - name : deps
53+ run : |
54+ sudo apt-get install -y clang-format cppcheck python3-pip
55+ sudo pip3 install --system pre-commit $PIP_DEPS black flake8 pylint
56+ - name : pre-commit
57+ run : pre-commit run --all-files
You can’t perform that action at this time.
0 commit comments