Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 59e02e5
  • /
  • .github
  • /
  • workflows
  • /
  • static-analysis-on-prem.yml
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:4c920fcad4b51692c138c0924999e8f3767f0a7e
directory badge Iframe embedding
swh:1:dir:f5373687d74f64458f7b4d1eaf0b281dc54a6a4d
static-analysis-on-prem.yml
# Copyright 2021-2024 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (the "License").  You may not use
# this file except in compliance with the License.  You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html

name: Static Analysis On Prem

on:
  schedule:
    - cron:  '20 0 * * *'
  workflow_dispatch:

permissions:
  contents: read

jobs:
  coverity-analysis:
    runs-on: ubuntu-latest
    container: quay.io/openssl-ci/coverity-analysis:2024.3.1
    steps:
    - name: Put license
      run: echo ${{ secrets.COVERITY_LICENSE }} | base64 -d > /opt/coverity-analysis/bin/license.dat
    - name: Put auth key file
      run: |
        echo ${{ secrets.COVERITY_AUTH_KEY }} | base64 -d > /auth_key_file.txt
        chmod 0600 /auth_key_file.txt
    - uses: actions/checkout@v4
    - name: Config
      run: CC=gcc ./config --banner=Configured --debug enable-fips enable-rc5 enable-md2 enable-ssl3 enable-nextprotoneg enable-ssl3-method enable-weak-ssl-ciphers enable-zlib enable-ec_nistp_64_gcc_128 no-shared enable-buildtest-c++ enable-external-tests -DPEDANTIC
    - name: Config dump
      run: ./configdata.pm --dump
    - name: Make
      run: cov-build --dir cov-int make -s -j4
    - name: Analyze
      run: cov-analyze --dir cov-int --strip-path $(pwd)
    - name: Commit defects
      run: cov-commit-defects --url https://coverity.openssl.org:443 --stream OpenSSL --dir cov-int --auth-key-file /auth_key_file.txt

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top