Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions: Add section for building windows exe #1111

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/build-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ on:
- stable
- 'release/**'

inputs:
pyinstaller_version:
description: 'Version of pyinstaller to target'
required: false
default: '6.4.0'

jobs:

build:
Expand Down Expand Up @@ -42,3 +48,33 @@ jobs:
name: volatility3-pypi
path: |
dist/

exe:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller==${{pyinstaller_version}}
pip install -r requirements.txt

- name: Pyinstall executable
run: |
pyinstaller --clean -y vol.spec

- name: Archive dist
uses: actions/upload-artifact@v2
with:
name: volatility3-pypi-exe
path: |
dist/

Loading