Fixed some warnings with unused variables and errors when compiling w… #15
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: Run Cpp Tests without CUDA | |
on: | |
push: | |
branches: [main, develop] | |
paths: | |
- "**/*.c" | |
- "**/*.h" | |
- "**/*.cpp" | |
- "**/*.hpp" | |
- "**/*.cc" | |
- "**/*.hh" | |
pull_request: | |
branches: [main, develop] | |
paths: | |
- "**/*.c" | |
- "**/*.h" | |
- "**/*.cpp" | |
- "**/*.hpp" | |
- "**/*.cc" | |
- "**/*.hh" | |
workflow_dispatch: | |
jobs: | |
run_cpp_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build Docker Image | |
run: | | |
docker build -f Dockerfile.fedora.40.cpptesting -t cpptesting-image . | |
- name: Run tests in Docker container | |
run: | | |
docker run --rm cpptesting-image |