Skip to content

Bump actions/checkout from 4 to 5 #4

Bump actions/checkout from 4 to 5

Bump actions/checkout from 4 to 5 #4

Workflow file for this run

name: cuSZp codecov report
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: nvidia/cuda:12.2.0-devel-ubuntu22.04
steps:
- uses: actions/checkout@v5
- name: Install dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get update && apt-get install -y cmake g++ make gcovr lcov
- name: Build with coverage
run: |
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="--coverage" -DCMAKE_CUDA_FLAGS="--coverage"
make -j$(nproc)
- name: Upload coverage
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}