Skip to content

Commit 67df810

Browse files
authored
Merge pull request #83 from RevEngAI/fix-python-version-builds
fix: build packages for more python versions
2 parents d2dd45f + 73b1db0 commit 67df810

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

.github/workflows/publish.yaml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,24 @@ concurrency:
1010

1111
jobs:
1212
build:
13-
name: Build Plugin (${{ matrix.os }}, py${{ matrix.python }}, ${{ matrix.arch }})
14-
runs-on: ${{ matrix.os }}
13+
name: Build Plugin (${{ matrix.platform.os }}, py${{ matrix.python }}, ${{ matrix.platform.arch }})
14+
runs-on: ${{ matrix.platform.os }}
1515

1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
include:
19+
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
20+
platform:
2021
- os: ubuntu-latest
21-
python: "3.10"
2222
arch: x86_64
2323
package-name: linux_x86_64
2424
- os: macos-latest
25-
python: "3.10"
2625
arch: arm64
2726
package-name: macos_arm64
2827
- os: macos-15-intel
29-
python: "3.10"
3028
arch: x86_64
3129
package-name: macos_x86_64
3230
- os: windows-latest
33-
python: "3.10"
3431
arch: x86_64
3532
package-name: windows_x86_64
3633

@@ -63,10 +60,10 @@ jobs:
6360
python - <<'PY'
6461
import zipfile, os
6562
from pathlib import Path
66-
63+
6764
os.makedirs("dist", exist_ok=True)
68-
zip_path = f"dist/reveng_ida_plugin_${{ matrix.package-name }}.zip"
69-
65+
zip_path = f"dist/reveng_ida_plugin_${{ matrix.platform.package-name }}_py${{ matrix.python }}.zip"
66+
7067
with zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED) as zf:
7168
# Add the entry file to root
7269
zf.write("reai_toolkit_entry.py", "reai_toolkit_entry.py")
@@ -84,7 +81,7 @@ jobs:
8481
- name: Upload plugin artifact
8582
uses: actions/upload-artifact@v4
8683
with:
87-
name: reveng_ida_plugin_${{ matrix.package-name }}
84+
name: reveng_ida_plugin_${{ matrix.platform.package-name }}_py${{ matrix.python }}
8885
path: dist/*.zip
8986

9087
attach:
@@ -112,4 +109,4 @@ jobs:
112109
Extract into your IDA plugins folder.
113110
files: dist/**/*.zip
114111
env:
115-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ The builds for latest stable version of the RevEng.AI IDA plugin can be download
4444

4545
### Supported IDA versions
4646

47-
We support the following IDA versions and platforms: `8.5`, `9.0`, `9.1`, `9.2`.
47+
We support the following IDA versions and platforms: `8.5`, `9.0`, `9.1`, `9.2` and Python version from `3.10` to `3.14`.
4848

4949
### Setup
5050

51-
1. **Download** the plugin code for your platform from the [Releases](https://github.com/revengai/plugin-ida/releases/latest) page.
51+
1. **Download** the plugin code for your platform and Python version from the [Releases](https://github.com/revengai/plugin-ida/releases/latest) page.
5252
2. **Extract** the archive contents into your IDA user plugin directory.
5353

5454
**macOS / Linux**
@@ -62,7 +62,7 @@ We support the following IDA versions and platforms: `8.5`, `9.0`, `9.1`, `9.2`.
6262
```
6363
Then run the following commands in your terminal or command prompt, adjusting for your platform and architecture as appropriate:
6464
```bash
65-
unzip reveng_ida_plugin_<platform>_<architecture>.zip -d ~/Downloads/
65+
unzip reveng_ida_plugin_<platform>_<architecture>_py<python-version>.zip -d ~/Downloads/
6666
mv ~/Downloads/reai_toolkit_entry.py ~/.idapro/plugins/
6767
mv ~/Downloads/reai_toolkit ~/.idapro/plugins/
6868
```

0 commit comments

Comments
 (0)