Fixed issues highlighted by cppcheck/ASAN [docker_verify] #439
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: Verify for TE | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| # This is what will cancel the workflow | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| if: "contains(github.event.head_commit.message, '[docker_verify]')" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Verify tfb | |
| run: | | |
| git clone https://github.com/TechEmpower/FrameworkBenchmarks | |
| cd docker/te/ | |
| cp -rf benchmark_config.json base/*.dockerfile scripts/*.sh *.sh *.dockerfile ../../FrameworkBenchmarks/frameworks/C++/ffead-cpp/ | |
| cd ../../FrameworkBenchmarks | |
| sed -i 's|db.close()|connection.close()|g' toolset/databases/mongodb/mongodb.py | |
| ./tfb --mode verify --test-dir C++/ffead-cpp |