Skip to content

Commit 1a84f96

Browse files
author
Kerry Goodwine
committed
Actions: Add new workflow for generating windows EXEs with pyinstaller
1 parent a677714 commit 1a84f96

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: build-pyinstaller
2+
on:
3+
push:
4+
branches:
5+
- stable
6+
- develop
7+
- 'release/**'
8+
pull_request:
9+
branches:
10+
- stable
11+
- 'release/**'
12+
13+
jobs:
14+
15+
exe:
16+
runs-on: windows-latest
17+
strategy:
18+
matrix:
19+
python-version: ["3.11"]
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: Set up Python ${{ matrix.python-version }}
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install pyinstaller
31+
32+
- name: Pyinstall executable
33+
run: |
34+
pyinstaller --clean -y vol.spec
35+
pyinstaller --clean -y volshell.spec
36+
37+
- name: Move files
38+
run: |
39+
mv dist/vol.exe vol.exe
40+
mv dist/volshell.exe volshell.exe
41+
42+
- name: Archive
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: volatility3-pyinstaller
46+
path: |
47+
vol.exe
48+
volshell.exe
49+
README.md
50+
LICENSE.txt

0 commit comments

Comments
 (0)