Merge branch 'master' into feature-981

This commit is contained in:
Willi Ballenthin
2022-05-11 13:20:48 -06:00
committed by GitHub
11 changed files with 236 additions and 70 deletions

View File

@@ -1,8 +1,8 @@
name: build
on:
push:
branches: [master, dotnet-main]
pull_request:
branches: [ master ]
release:
types: [edited, published]
@@ -11,6 +11,8 @@ jobs:
name: PyInstaller for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
# set to false for debugging
fail-fast: true
matrix:
include:
- os: ubuntu-18.04
@@ -37,12 +39,10 @@ jobs:
run: sudo apt-get install -y libyaml-dev
- name: Upgrade pip, setuptools
run: pip install --upgrade pip setuptools
- name: Install PyInstaller
run: pip install 'pyinstaller==4.10'
- name: Install capa
run: pip install -e .
- name: Install capa with build requirements
run: pip install -e .[build]
- name: Build standalone executable
run: pyinstaller .github/pyinstaller/pyinstaller.spec
run: pyinstaller --log-level DEBUG .github/pyinstaller/pyinstaller.spec
- name: Does it run (PE)?
run: dist/capa "tests/data/Practical Malware Analysis Lab 01-01.dll_"
- name: Does it run (Shellcode)?