lazy loaded clib #680
This file contains hidden or 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: Code Layout | |
| on: [push, pull_request] | |
| jobs: | |
| code_style: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install astyle | |
| run: | | |
| sudo apt-get install astyle | |
| - uses: actions/checkout@v3 | |
| - name: Run astyle check | |
| run: | | |
| cd scripts | |
| ./run_astyle.sh `find ../geodiff -name \*.h* ! -name json.hpp -print -o -name \*.c* -print` | |
| cppcheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Install Requirements | |
| run: | | |
| sudo apt install -y cppcheck | |
| - name: Run cppcheck test | |
| run: | | |
| ./scripts/run_cppcheck.sh | |
| black: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Install Requirements | |
| run: | | |
| sudo apt-get -y install black | |
| - name: Run black formatter | |
| run: | | |
| ./scripts/run_black.sh |