blossom ci fix #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: 3.8 | |
- name: Install Dependencies | |
run: | | |
conda install -y -c conda-forge pybind11 rapidjson cmake cpplint | |
- name: Run cpplint | |
run: | | |
cpplint --linelength=120 --filter=-build/c++11,-build/include_subdir --root=src ./src/* | |
- name: Build | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
make -j 2 |