-
Notifications
You must be signed in to change notification settings - Fork 9
34 lines (32 loc) · 1.12 KB
/
extended-pipeline.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
name: Extended Pipeline
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build-docker-and-run-extended-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup BinaryNinja License
run: |
echo "${{ secrets.BINJA_LICENSE }}" | base64 --decode > license.txt
- name: Download BinayNinja.zip
run: |
curl -v --header "PRIVATE-TOKEN: ${{ secrets.GITLAB_BINJA_TOKEN }}" https://gitlab.fkie.fraunhofer.de/api/v4/projects/1250/repository/files/BinaryNinja.zip/raw?ref=main --output BinaryNinja.zip
- name: Build Docker Image
run: |
docker build -t dewolf .
- name: Run Tests
id: run_tests
run: |
docker run dewolf make extendedtests
- name: Upload Crash Reports
if: ${{ failure() && steps.run_tests.conclusion == 'failure' }} # Only run if previous steps fail
uses: actions/upload-artifact@v4
with:
name: crash-reports
path: crash_reports
retention-days: 1 # Adjust retention as needed