mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-26 19:44:50 +02:00
Actions: Add section for building windows exe
This commit is contained in:
@@ -12,6 +12,12 @@ on:
|
||||
- stable
|
||||
- 'release/**'
|
||||
|
||||
inputs:
|
||||
pyinstaller_version:
|
||||
description: 'Version of pyinstaller to target'
|
||||
required: false
|
||||
default: '6.4.0'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
@@ -42,3 +48,32 @@ 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 -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user