Skip to content

refactor ci

refactor ci #1

Workflow file for this run

name: "Build"
on:
push:
branches: [ main ]
pull_request:
jobs:
OpenVAS:
runs-on: ubuntu-latest
strategy:
matrix:
# With the upcoming changes, we require both downwards and upwards compatibility between the OpenVAS C
# code and GVM-libs. This is because, even though we will be using semantic versioning, as long as
# OpenVAS and GVM-libs remain separate repositories, we want to be notified of every change.
gvm-libs-version:
- stable
- unstable
container: greenbone/gvm-libs:${{ matrix.gvm-libs-version }}
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
sh .github/install-openvas-dependencies.sh
- name: build
run: |
cmake -Bbuild -DCMAKE_C_COMPILER=/usr/share/clang/scan-build-14/libexec/ccc-analyzer
scan-build -o ~/scan-build-report cmake --build build
- name: Upload scan-build report
uses: actions/upload-artifact@v3
with:
name: scan-build-report
path: ~/scan-build-report/
retention-days: 7
OpenVAS Daemon:

Check failure on line 35 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 35, Col: 3): The identifier 'OpenVAS Daemon' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
uses: ./.github/workflows/build-rust.yml