aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/coverage.yml41
-rw-r--r--.github/workflows/darwin.yml2
-rw-r--r--.github/workflows/linux.yml27
-rw-r--r--.github/workflows/windows.yml2
4 files changed, 35 insertions, 37 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
diff --git a/.github/workflows/darwin.yml b/.github/workflows/darwin.yml
index 5029198e..cc683c0a 100644
--- a/.github/workflows/darwin.yml
+++ b/.github/workflows/darwin.yml
@@ -6,7 +6,7 @@ jobs:
runs-on: [macos-latest]
steps:
- name: Check out code
- uses: actions/checkout@v1
+ uses: actions/checkout@v4
- name: Install Mbed TLS
run: brew install mbedtls
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index d7386fd9..c40b65f7 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -1,25 +1,24 @@
name: linux
on: [push, pull_request]
jobs:
-
build:
name: build
- 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 -D NNG_ENABLE_TLS=ON ..
+ - name: Configure
+ run: mkdir build && cd build && cmake -G Ninja -D NNG_ENABLE_TLS=ON ..
- - name: Build
- run: cd build && ninja
+ - name: Build
+ run: cd build && ninja
- - name: Test
- run: cd build && ctest --output-on-failure \ No newline at end of file
+ - name: Test
+ run: cd build && ctest --output-on-failure
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 2a031b2b..9f9791f2 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -6,7 +6,7 @@ jobs:
runs-on: [windows-latest]
steps:
- name: Check out code
- uses: actions/checkout@v1
+ uses: actions/checkout@v4
- name: vcpkg build
id: vcpkg