-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (30 loc) · 1.01 KB
/
headers.yml
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
name: Headers
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: pip install -r scripts/headers/requirements.txt
- name: Run unit tests
run: python -m unittest discover -v -s ./scripts/headers -p '*test.py'
- name: Run generate_headers.py script
run: python scripts/headers/bw1_decomp_gen/generate_headers.py
- name: Run analyze_headers.py script
run: python scripts/headers/analyze_headers.py
- name: Upload generated headers as artifact
uses: actions/upload-artifact@v3
with:
name: bw1_decomp_gen_headers
path: generated_headers_output/
- name: Upload re-generated database as artifact
uses: actions/upload-artifact@v3
with:
name: bw1_decomp_gen_database
path: extracted_reversing_data_bw_141.json