-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.09 KB
/
Copy pathlinux-build.yml
File metadata and controls
42 lines (34 loc) · 1.09 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Linux Build
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y g++ cmake coreutils yara ssdeep tlsh-tools osslsigncode graphviz
- name: Build with script
run: |
chmod +x build_debian.sh
./build_debian.sh
- name: Help command
run: ./meta-forensics --help
- name: Smoke test
run: |
printf 'Meta-Forensics smoke test\n' > sample.txt
./meta-forensics analyze sample.txt --out test_reports --no-memory --no-live-artifacts --no-yara --no-sigma --no-pe --no-artifacts --no-stix-export
test -d test_reports
find test_reports -type f -size +0 | grep .
- name: Build with CMake
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j1
./build/meta-forensics --help