forked from boostorg/mqtt5
Update versions of CI & coverage github actions
Summary: related to T13767 Upgraded github actions to versions that run on node 20 (v4). Previous versions run on node 16 and are deprecated. https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D29494
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup OpenSSL
|
- name: Setup OpenSSL
|
||||||
env:
|
env:
|
||||||
@ -196,7 +196,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup container environment
|
- name: Setup container environment
|
||||||
if: matrix.container
|
if: matrix.container
|
||||||
|
18
.github/workflows/coverage.yml
vendored
18
.github/workflows/coverage.yml
vendored
@ -19,7 +19,6 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- toolset: coverage
|
- toolset: coverage
|
||||||
compiler: g++-11
|
compiler: g++-11
|
||||||
install: g++-11
|
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
container: ubuntu:22.04
|
container: ubuntu:22.04
|
||||||
cxxstd: 20
|
cxxstd: 20
|
||||||
@ -33,16 +32,16 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup container environment
|
- name: Setup container environment
|
||||||
if: matrix.container
|
if: matrix.container
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get -y install sudo wget tar cmake openssl libssl-dev pkg-config lcov
|
apt-get -y install sudo wget tar cmake openssl libssl-dev pkg-config lcov gpg git
|
||||||
|
|
||||||
- name: Install compiler
|
- name: Install compiler
|
||||||
run: sudo apt-get install -y ${{ matrix.install }}
|
run: sudo apt-get install -y ${{ matrix.compiler }}
|
||||||
|
|
||||||
- name: Setup Boost
|
- name: Setup Boost
|
||||||
run: |
|
run: |
|
||||||
@ -76,9 +75,12 @@ jobs:
|
|||||||
lcov --remove coverage.info '**/boost/*' --output-file coverage.info
|
lcov --remove coverage.info '**/boost/*' --output-file coverage.info
|
||||||
|
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v4
|
||||||
with:
|
with:
|
||||||
files: coverage.info
|
verbose: true
|
||||||
|
file: coverage.info
|
||||||
|
disable_search: true
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
env:
|
plugin: noop
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.15)
|
||||||
|
|
||||||
project(async-mqtt5 VERSION 0.0.1 LANGUAGES CXX)
|
project(async-mqtt5 VERSION 1.0.1 LANGUAGES CXX)
|
||||||
|
|
||||||
include(cmake/project-is-top-level.cmake)
|
include(cmake/project-is-top-level.cmake)
|
||||||
include(cmake/variables.cmake)
|
include(cmake/variables.cmake)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
if(PROJECT_IS_TOP_LEVEL)
|
if(PROJECT_IS_TOP_LEVEL)
|
||||||
set(
|
set(
|
||||||
CMAKE_INSTALL_INCLUDEDIR "include/async-mqtt5-${PROJECT_VERSION}"
|
CMAKE_INSTALL_INCLUDEDIR "/async-mqtt5-${PROJECT_VERSION}"
|
||||||
CACHE STRING ""
|
CACHE STRING ""
|
||||||
)
|
)
|
||||||
set_property(CACHE CMAKE_INSTALL_INCLUDEDIR PROPERTY TYPE PATH)
|
set_property(CACHE CMAKE_INSTALL_INCLUDEDIR PROPERTY TYPE PATH)
|
||||||
|
@ -19,5 +19,9 @@ coverage:
|
|||||||
project:
|
project:
|
||||||
default:
|
default:
|
||||||
informational: true
|
informational: true
|
||||||
|
|
||||||
github_checks:
|
github_checks:
|
||||||
annotations: true
|
annotations: true
|
||||||
|
|
||||||
|
fixes:
|
||||||
|
- ".*/async_mqtt5/::include/async_mqtt5/"
|
||||||
|
Reference in New Issue
Block a user