Skip to content

export-object: Recover public key from algorithm specific attributes #296

export-object: Recover public key from algorithm specific attributes

export-object: Recover public key from algorithm specific attributes #296

Workflow file for this run

name: test
on: [push, pull_request]
env:
BUILDDIR: "builddir"
INSTALLDIR: "installdir"
RUNUSER: "user"
jobs:
autotools:
runs-on: ubuntu-latest
env:
BUILD_OPTS: --enable-doc
container:
image: ghcr.io/p11-glue/p11-kit:master
steps:
# Checkout repo
- uses: actions/checkout@v2
with:
submodules: true
- uses: ./.github/actions/basic-autotools
address-sanitizer:
runs-on: ubuntu-latest
container:
image: ghcr.io/p11-glue/p11-kit:master
env:
MESON_BUILD_OPTS: -Db_sanitize=address
steps:
# Checkout repo
- uses: actions/checkout@v2
with:
submodules: true
- uses: ./.github/actions/basic-meson
undefined-sanitizer:
runs-on: ubuntu-latest
container:
image: ghcr.io/p11-glue/p11-kit:master
env:
MESON_BUILD_OPTS: -Db_sanitize=undefined
steps:
# Checkout repo
- uses: actions/checkout@v2
with:
submodules: true
- uses: ./.github/actions/basic-meson
scan-build:
runs-on: ubuntu-latest
container:
image: ghcr.io/p11-glue/p11-kit:master
env:
SCAN_BUILD: scan-build --status-bugs
steps:
# Checkout repo
- uses: actions/checkout@v2
with:
submodules: true
- uses: ./.github/actions/basic-meson
mingw:
runs-on: ubuntu-latest
container:
image: ghcr.io/p11-glue/p11-kit:master
env:
MESON_BUILD_OPTS: --cross-file build/cross_file_mingw64.txt
MESON_TEST_OPTS: --num-processes 1
WINEPATH: /usr/x86_64-w64-mingw32/sys-root/mingw/bin
steps:
# Checkout repo
- uses: actions/checkout@v2
with:
submodules: true
- uses: ./.github/actions/basic-meson
cppcheck:
runs-on: ubuntu-latest
container:
image: ghcr.io/p11-glue/p11-kit:master
env:
PROFILE: cppcheck
steps:
# Checkout repo
- uses: actions/checkout@v2
with:
submodules: true
- run: |
find common p11-kit trust -name '*.c' -print | cppcheck -f --platform=unix64 --relative-paths --language=c --quiet -I common -I p11-kit -I trust --file-list=- --inline-suppr --template='{file}:{line},{severity},{id},{message}' --error-exitcode=1
coverage:
runs-on: ubuntu-latest
container:
image: ghcr.io/p11-glue/p11-kit:master
env:
MESON_BUILD_OPTS: -Db_coverage=true
steps:
# Checkout repo
- uses: actions/checkout@v2
with:
submodules: true
- uses: ./.github/actions/basic-meson
- name: Genereate coverage
run: runuser -u user -- ninja coverage -C $GITHUB_WORKSPACE/$BUILDDIR
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]
with:
path-to-lcov: ./builddir/meson-logs/coverage.info
github-token: ${{ secrets.github_token }}
macos:
runs-on: macos-12
env:
MESON_BUILD_OPTS: -Dclosures=0
steps:
# Checkout repo
- uses: actions/checkout@v2
with:
submodules: true
- name: Install dependencies
run: |
brew upgrade -f
brew install --overwrite coreutils gettext libffi libtasn1 meson
- name: Update path
run: |
echo /usr/local/opt/gettext/bin >>${GITHUB_PATH}
- uses: ./.github/actions/basic-meson
libffi:
runs-on: ubuntu-latest
container:
image: ghcr.io/p11-glue/p11-kit:master
env:
MESON_BUILD_OPTS: -Db_sanitize=address -Db_sanitize=undefined -Dclosures=0
steps:
# Checkout repo
- uses: actions/checkout@v2
with:
submodules: true
- uses: ./.github/actions/basic-meson