Bump ubuntu from 24.04@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15 to sha256:1e622c5f073b4f6bfad6632f2616c7f59ef256e96fe78bf6a595d1dc4376ac02 in /ci #52
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: Coverity Scan | |
| # We only want to test official release code, not every pull request. | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: read-all | |
| jobs: | |
| coverity: | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/codeplaysoftware/sycl-samples:main | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| submodules: "recursive" | |
| - name: Configure image | |
| run: > | |
| apt update && apt install -y curl | |
| - name: Configure CMake | |
| run: > | |
| cmake -B ${{github.workspace}}/build | |
| -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
| -DCMAKE_CXX_COMPILER=clang++ | |
| -DENABLE_GRAPHICS=ON | |
| -DENABLE_SPIR=ON | |
| -DENABLE_CUDA=ON -DCUDA_COMPUTE_CAPABILITY=80 | |
| -DENABLE_HIP=ON -DHIP_GFX_ARCH=gfx90a | |
| -DCMAKE_CXX_FLAGS='-Wall -Wextra -Wpedantic -Werror' | |
| -G Ninja | |
| - uses: vapier/coverity-scan-action@2068473c7bdf8c2fb984a6a40ae76ee7facd7a85 # v1.8.0 | |
| with: | |
| email: ${{ secrets.COVERITY_SCAN_EMAIL }} | |
| token: ${{ secrets.COVERITY_SCAN_TOKEN }} | |
| command: cmake --build ${{github.workspace}}/build -- -k 0 | |
| working-directory: 'src' |