File: build.yml

package info (click to toggle)
openvas-scanner 23.40.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 22,692 kB
  • sloc: ansic: 41,669; xml: 6,251; pascal: 3,723; yacc: 1,287; sh: 1,101; makefile: 333; sql: 282; javascript: 12
file content (29 lines) | stat: -rw-r--r-- 845 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: "Build"

on: [workflow_call]

jobs:
  C:
    runs-on: ubuntu-latest
    container:
      image: registry.community.greenbone.net/community/gvm-libs:stable
    steps:
      - uses: actions/checkout@v6
      - name: install dependencies
        run: |
          sh .github/install-openvas-dependencies.sh
      - name: build 
        run: |
          cmake -Bbuild -DCMAKE_C_COMPILER=/usr/share/clang/scan-build-19/libexec/ccc-analyzer
          cmake --build build
  Rust:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: ./.github/actions/setup-rust
      # we just check if it is compilable, the actual compilation is now done in:
      # - in the Dockefiles
      # - in functional.yml (x86_64) only
      # - in release.yml (aarch64, x86_64)
      - run: cargo check
        working-directory: rust