refactor ci #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / BuildInvalid workflow file
|
||
uses: ./.github/workflows/build-rust.yml |