only write data to file if current>5A. This is done on TeslaSlaveMonitor #683
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: Ubuntu CI | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository and submodules | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Update Package Lists | |
| run: sudo apt update | |
| - name: Install dependencies | |
| run: sudo apt install valgrind libcurl4-openssl-dev | |
| - name: Configure CMake | |
| run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release | |
| - name: Build | |
| working-directory: ${{github.workspace}}/build | |
| run: make -j8 | |
| - name: Test & memcheck | |
| working-directory: ${{github.workspace}}/build | |
| run: make memcheck |