mirror of
https://github.com/tkem/fsmlite.git
synced 2025-10-14 02:27:58 +08:00
Update GitHub actions.
This commit is contained in:
2
.github/FUNDING.yml
vendored
Normal file
2
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
github: [tkem]
|
||||
custom: ["https://www.paypal.me/tkem"]
|
13
.github/SECURITY.md
vendored
Normal file
13
.github/SECURITY.md
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
Security updates are applied only to the latest release.
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
If you have discovered a security vulnerability in this project, please report it privately. **Do not disclose it as a public issue.** This gives us time to work with you to fix the issue before public exposure, reducing the chance that the exploit will be used before a patch is released.
|
||||
|
||||
Please disclose it at [security advisory](https://github.com/tkem/fsmlite/security/advisories/new).
|
||||
|
||||
This project is maintained by a single person on a best effort basis. As such, vulnerability reports will be investigated and fixed or disclosed as soon as possible, but there may be delays in response time due to the maintainer's other commitments.
|
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "monthly"
|
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -11,8 +11,12 @@ jobs:
|
||||
matrix:
|
||||
cc: [clang-18, gcc-13, gcc-14]
|
||||
include:
|
||||
- cc: clang-17
|
||||
cxx: clang++-17
|
||||
os: ubuntu-latest
|
||||
- cc: clang-18
|
||||
cxx: clang++-18
|
||||
cxxflags: -fno-exceptions
|
||||
gcov: llvm-cov-18 gcov
|
||||
os: ubuntu-latest
|
||||
- cc: gcc-13
|
||||
@@ -20,6 +24,7 @@ jobs:
|
||||
os: ubuntu-latest
|
||||
- cc: gcc-14
|
||||
cxx: g++-14
|
||||
cxxflags: -fno-exceptions
|
||||
gcov: gcov-14
|
||||
os: ubuntu-latest
|
||||
steps:
|
||||
@@ -31,16 +36,23 @@ jobs:
|
||||
CC: ${{ matrix.cc }}
|
||||
CXX: ${{ matrix.cxx }}
|
||||
run: ./configure --enable-coverage && make check
|
||||
- name: Configure, build and run tests with ${{ matrix.cxxflags }}
|
||||
if: ${{ matrix.cxxflags }}
|
||||
env:
|
||||
CC: ${{ matrix.cc }}
|
||||
CXX: ${{ matrix.cxx }}
|
||||
CXXFLAGS: ${{ matrix.cxxflags }}
|
||||
run: ./configure --enable-coverage && make check
|
||||
- name: Create coverage information
|
||||
if: ${{ matrix.gcov }}
|
||||
run: ${{ matrix.gcov }} -r *.cpp
|
||||
working-directory: tests
|
||||
if: ${{ matrix.gcov }}
|
||||
- name: Upload coverage information
|
||||
if: ${{ matrix.gcov }}
|
||||
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
|
||||
with:
|
||||
name: ${{ matrix.cc }} on ${{ matrix.os }}
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
if: ${{ matrix.gcov }}
|
||||
msvc:
|
||||
name: Windows ${{ matrix.config }} build
|
||||
runs-on: windows-latest
|
||||
|
Reference in New Issue
Block a user