-
Notifications
You must be signed in to change notification settings - Fork 764
29 lines (27 loc) · 820 Bytes
/
build.yml
File metadata and controls
29 lines (27 loc) · 820 Bytes
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: ghcr.io/greenbone/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