-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (36 loc) · 1.15 KB
/
ExampleExecution.yml
File metadata and controls
48 lines (36 loc) · 1.15 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
43
44
45
46
47
48
name: Mapping Example
on:
workflow_dispatch:
jobs:
demo_test:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies and RePort
run: |
sudo apt-get update
sudo apt-get install -y liblzo2-dev
python -m venv myenv
source myenv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
cd src
sudo -E ../myenv/bin/python -m RePort.report -install
- name: Run Graybox Mapping on the demo firmware
run: |
source myenv/bin/activate
cd src
sudo -E ../myenv/bin/python -m RePort.report -gray -firmware ../DIR-868L_fw_revB_2-05b02_eu_multi_20161117.zip
- name: Package the artifacts
run: |
zip -r reports.zip reports/ || true
- name: Package the artifacts
uses: actions/upload-artifact@v4
with:
name: reports-artifact
path: reports.zip