Skip to content

Commit d93066e

Browse files
authored
Update CI workflow to use SBOM and CMake
1 parent dc190de commit d93066e

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/c-cpp.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build with SBOM
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: cycodelabs/cimon-action@v1
10+
with:
11+
client-id: ${{ secrets.CIMON_CLIENT_ID }}
12+
secret: ${{ secrets.CIMON_SECRET }}
13+
report-process-tree: true
14+
feature-gates: "SBOM=true"
15+
16+
- uses: actions/checkout@v4
17+
18+
- name: Build
19+
run: |
20+
mkdir build && cd build
21+
cmake ..
22+
make -j$(nproc)

0 commit comments

Comments
 (0)