diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-10-06 22:23:26 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-10-06 22:23:26 -0700 |
| commit | d0dc211c7b77a927c1ea315342239b09e5d8c2fe (patch) | |
| tree | 94975fd9ff87c15d461ffd390dea45c633e07111 /.github/workflows/coverage.yml | |
| parent | 7dd81b3c116127f8eed3dc6f05c62ec36b0097d8 (diff) | |
| download | nng-d0dc211c7b77a927c1ea315342239b09e5d8c2fe.tar.gz nng-d0dc211c7b77a927c1ea315342239b09e5d8c2fe.tar.bz2 nng-d0dc211c7b77a927c1ea315342239b09e5d8c2fe.zip | |
Bump checkout action to v4.
Diffstat (limited to '.github/workflows/coverage.yml')
| -rw-r--r-- | .github/workflows/coverage.yml | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7aaf317a..977df6a0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,38 +1,37 @@ name: coverage on: [push] jobs: - linux-coverage: name: linux - runs-on: [ ubuntu-latest ] + runs-on: [ubuntu-latest] steps: - - name: Check out code - uses: actions/checkout@v1 + - name: Check out code + uses: actions/checkout@v4 - - name: Install mbedTLS - run: sudo apt-get install libmbedtls-dev + - name: Install mbedTLS + run: sudo apt-get install libmbedtls-dev - - name: Install ninja - run: sudo apt-get install ninja-build + - name: Install ninja + run: sudo apt-get install ninja-build - - name: Configure - run: mkdir build && cd build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DNNG_ENABLE_COVERAGE=ON -DNNG_ENABLE_TLS=ON .. + - name: Configure + run: mkdir build && cd build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DNNG_ENABLE_COVERAGE=ON -DNNG_ENABLE_TLS=ON .. - - name: build - run: cd build && ninja + - name: build + run: cd build && ninja - - name: Test - run: cd build && ctest --output-on-failure + - name: Test + run: cd build && ctest --output-on-failure - - name: Upload report - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - yml: ./.codecov.yml + - name: Upload report + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + yml: ./.codecov.yml darwin-coverage: name: darwin - runs-on: [ macos-latest ] + runs-on: [macos-latest] steps: - name: Check out code uses: actions/checkout@v1 @@ -47,7 +46,7 @@ jobs: run: brew install lcov - name: Configure - run: mkdir build && cd build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DNNG_ENABLE_COVERAGE=ON -DNNG_ENABLE_TLS=ON .. + run: mkdir build && cd build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DNNG_ENABLE_COVERAGE=ON -DNNG_ENABLE_TLS=ON .. - name: build run: cd build && ninja |
