Skip to content

Commit

Permalink
updates for release 2.1.0 (#309)
Browse files Browse the repository at this point in the history
The Github Action versions of checkout and setup-ruby have been updated.

Some build instructions have been updated to use cmake build mode for
increase portability.

Google Test and Benchmark have been updated to recent commits.

Doxygen generation has been fixed to account for the
STUMPLESS_PUBLIC_FUNCTION function attribute.
  • Loading branch information
goatshriek authored Nov 13, 2022
1 parent 57775b3 commit 9f6a776
Show file tree
Hide file tree
Showing 20 changed files with 118 additions and 106 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: "custom analysis"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Check Headers
run: |
tools/check_headers/check_headers.rb "include/**/*.h*" "include/**/**/*.h"
Expand All @@ -36,7 +36,7 @@ jobs:
language: [ 'cpp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
Expand All @@ -49,7 +49,7 @@ jobs:
name: "sonarcloud analysis"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cygwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: "cygwin, release"
runs-on: "windows-2019"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache Google Test and Benchmark
uses: actions/cache@v2
id: cache-google-libs
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install doxygen libsystemd-dev valgrind
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -DCOVERAGE=ON -DCMAKE_BUILD_TYPE=Debug .
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
name: "linux, release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
name: "linux, release, static library"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=OFF .
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
name: "linux, all features disabled, debug"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -DCOVERAGE=ON -DCMAKE_BUILD_TYPE=Debug -DENABLE_JOURNALD_TARGETS=OFF -DENABLE_NETWORK_TARGETS=OFF -DENABLE_SOCKET_TARGETS=OFF -DENABLE_WINDOWS_EVENT_LOG_TARGETS=OFF -DENABLE_THREAD_SAFETY=OFF .
Expand All @@ -173,7 +173,7 @@ jobs:
name: "linux, all features disabled, release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_JOURNALD_TARGETS=OFF -DENABLE_NETWORK_TARGETS=OFF -DENABLE_SOCKET_TARGETS=OFF -DENABLE_WINDOWS_EVENT_LOG_TARGETS=OFF -DENABLE_THREAD_SAFETY=OFF .
Expand All @@ -194,8 +194,8 @@ jobs:
name: "linux, with c++, debug"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected].2
- uses: actions/checkout@v3
- uses: actions/[email protected].3
- name: Install Prereqs
run: |
sudo apt-get update
Expand Down Expand Up @@ -227,8 +227,8 @@ jobs:
name: "linux, with c++, release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected].2
- uses: actions/checkout@v3
- uses: actions/[email protected].3
- name: Install Gems
run: |
gem install bundler
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
env:
LANG: "de_DE.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -36,7 +36,7 @@ jobs:
env:
LANG: "cz_ES.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -56,7 +56,7 @@ jobs:
env:
LANG: "es_ES.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -76,7 +76,7 @@ jobs:
env:
LANG: "fr_FR.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -96,7 +96,7 @@ jobs:
env:
LANG: "it_IT.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -116,7 +116,7 @@ jobs:
env:
LANG: "sk_SK.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -136,7 +136,7 @@ jobs:
env:
LANG: "pl_PL.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -156,7 +156,7 @@ jobs:
env:
LANG: "sv_SE.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -176,7 +176,7 @@ jobs:
env:
LANG: "bg_BG.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -196,7 +196,7 @@ jobs:
env:
LANG: "el_GR.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -216,7 +216,7 @@ jobs:
env:
LANG: "pt_BR.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -236,7 +236,7 @@ jobs:
env:
LANG: "zh_CN.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -256,7 +256,7 @@ jobs:
env:
LANG: "hi_IN.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand All @@ -276,7 +276,7 @@ jobs:
env:
LANG: "bn_IN.UTF-8"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake .
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: "debug"
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -DCOVERAGE=ON -DCMAKE_BUILD_TYPE=Debug .
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
name: "release"
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -DCMAKE_BUILD_TYPE=Release .
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
name: "release, static library"
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF .
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
name: "all features disabled"
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -DCOVERAGE=ON -DENABLE_JOURNALD_TARGETS=OFF -DENABLE_NETWORK_TARGETS=OFF -DENABLE_SOCKET_TARGETS=OFF -DENABLE_WINDOWS_EVENT_LOG_TARGETS=OFF -DENABLE_THREAD_SAFETY=OFF .
Expand All @@ -158,8 +158,8 @@ jobs:
name: "with c++"
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected].2
- uses: actions/checkout@v3
- uses: actions/[email protected].3
- name: Install Gems
run: |
gem install bundler
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: "windows, debug"
runs-on: "windows-2019"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Debug .
Expand All @@ -34,7 +34,7 @@ jobs:
name: "windows, release"
runs-on: "windows-2019"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release .
Expand All @@ -54,7 +54,7 @@ jobs:
name: "windows, release, static library"
runs-on: "windows-2019"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF .
Expand All @@ -74,7 +74,7 @@ jobs:
name: "windows, all features disabled"
runs-on: "windows-2019"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -G "Visual Studio 16 2019" -DENABLE_JOURNALD_TARGETS=OFF -DENABLE_NETWORK_TARGETS=OFF -DENABLE_SOCKET_TARGETS=OFF -DCMAKE_BUILD_TYPE=Release -DENABLE_THREAD_SAFETY=OFF .
Expand All @@ -91,8 +91,8 @@ jobs:
name: "windows, with c++"
runs-on: "windows-2019"
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected].2
- uses: actions/checkout@v3
- uses: actions/[email protected].3
- name: Install Gems
run: |
gem install bundler
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ easier:
* completely thread safe
* can be adjusted or removed during compilation for zero runtime impact
* localized for multiple languages :brazil: :bulgaria: :cn: :czech_republic:
:de: :es: :fr: :greece: :india: :it: :poland: :sweden: :slovakia: :us:
:de: :es: :fr: :greece: :india: :it: :poland: :slovakia: :sweden: :us:
([add yours!](https://github.com/goatshriek/stumpless/blob/latest/docs/localization.md))
* easy-access
[documentation](https://goatshriek.github.io/stumpless/docs/c/latest/index.html),
Expand Down
11 changes: 7 additions & 4 deletions docs/SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# Stumpless Security Policy
This document describes the security support for Stumpless, including versions
that will be patched and the procedure for submitting vulnerabilities.

## Supported Versions

The table below lists the current supported versions of Stumpless.
The table below lists the current supported versions of Stumpless. Generally,
the current and previous major versions are supported at their highest minor
version.

| Version | Supported |
| ------- | ------------------ |
| 2.1.x | :heavy_check_mark: |
| 2.0.x | :heavy_check_mark: |
| 2.0.x | :x: |
| 1.6.x | :heavy_check_mark: |
| <= 1.5 | :x: |

## Reporting a Vulnerability

## Reporting a Vulnerability
If you discover a problem with Stumpless, please report it immediately to the
project owner, [Joel Anderson](mailto:[email protected]). The issue
will be investigated as soon as possible and you will receive a response within
Expand Down
Loading

0 comments on commit 9f6a776

Please sign in to comment.