-
Notifications
You must be signed in to change notification settings - Fork 14
48 lines (48 loc) · 1.92 KB
/
build.yaml
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
43
44
45
46
47
48
on:
push:
jobs:
build:
name: Build executable 📦
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[dev] pyinstaller
- name: Lint code 🦄
run: tox -e lint
- name: Build binary 🔢
run: pyinstaller "main.spec"
- name: Upload generated binary 👩💻
uses: actions/upload-artifact@v4
with:
name: generated-excutable
path: .\dist\ms_teams_parser.exe
retention-days: 1
- name: Run conversion ↩️
run: |
.\dist\ms_teams_parser.exe -f ".\forensicsim-data\jane_doe_v_1_4_00_11161\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "jane_doe_v_1_4_00_11161.json"
.\dist\ms_teams_parser.exe -f ".\forensicsim-data\john_doe_v_1_4_00_11161\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb" -o "john_doe_v_1_4_00_11161.json"
.\dist\ms_teams_parser.exe -f ".\forensicsim-data\karelze_v_23306_3309_2530_1346\IndexedDB\https_teams.live.com_0.indexeddb.leveldb" -o "karelze_v_23306_3309_2530_1346.json"
- name: Upload results📲
uses: actions/upload-artifact@v4
with:
name: generated-outputs
path: |
jane_doe_v_1_4_00_11161.json
john_doe_v_1_4_00_11161.json
karelze_v_23306_3309_2530_1346.json
retention-days: 1
- name: Test calling script 🖱️
run: |
python tools/main.py --help
python tools/dump_leveldb.py --help
python tools/dump_localstorage.py --help
python tools/dump_sessionstorage.py --help