Skip to content

Commit dde9d50

Browse files
Streamline multi-platform release packaging
1 parent c97c193 commit dde9d50

2 files changed

Lines changed: 13 additions & 17 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,19 @@ jobs:
3030
include:
3131
- os: windows-latest
3232
platform: Windows_x86_64
33-
executable: build/RadarSim.exe
33+
executable: dist/RadarSim.exe
34+
data_separator: ";"
35+
gui_option: --windowed
3436
- os: ubuntu-latest
3537
platform: Linux_x86_64
36-
executable: build/RadarSim
38+
executable: dist/RadarSim
39+
data_separator: ":"
40+
gui_option: ""
3741
- os: macos-latest
3842
platform: macOS_arm64
39-
executable: build/RadarSim
43+
executable: dist/RadarSim
44+
data_separator: ":"
45+
gui_option: ""
4046
steps:
4147
- uses: actions/checkout@v6
4248
- uses: actions/setup-python@v6
@@ -45,19 +51,9 @@ jobs:
4551
cache: pip
4652
- run: python -m pip install --upgrade pip
4753
- run: python -m pip install -e ".[gui]"
48-
- name: Install Linux system libraries
49-
if: runner.os == 'Linux'
50-
run: |
51-
sudo apt-get update
52-
sudo apt-get install -y patchelf libgl1 libegl1 libxkbcommon-x11-0 libxcb-cursor0
53-
- uses: Nuitka/Nuitka-Action@99c9d3ab258c7008c0604617d925574101327e5d
54-
with:
55-
nuitka-version: 4.1.1
56-
script-name: run_gui.py
57-
mode: onefile
58-
enable-plugins: pyside6
59-
include-data-dir: scenarios=scenarios
60-
output-file: RadarSim
54+
- run: python -m pip install pyinstaller==6.22.2
55+
- name: Build desktop application
56+
run: python -m PyInstaller --noconfirm --clean --onefile --name RadarSim --exclude-module torch --exclude-module tensorflow --exclude-module pytest --exclude-module pygame --exclude-module sphinx --exclude-module docutils --add-data "scenarios${{ matrix.data_separator }}scenarios" ${{ matrix.gui_option }} run_gui.py
6157
- name: Package Windows
6258
if: runner.os == 'Windows'
6359
shell: pwsh

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This release replaces several approximate or placeholder paths with physically t
3939
- Unified the installed `radarsim` and source `run_gui.py` entry points on PySide6.
4040
- Wired target-inspector probability of detection to the simulation’s Swerling calculation and corrected SAR display normalization and metrics.
4141
- Removed obsolete optional modules and binary assets; RadarSim has no remote-service dependency.
42-
- Added UI smoke tests, strict lint/test/security/package CI, and tag-driven multi-platform Nuitka release builds.
42+
- Added UI smoke tests, strict lint/test/security/package CI, and tag-driven multi-platform PyInstaller release builds.
4343
- Replaced legacy phase notes with model equations, limitations, methodology, architecture, user guide, primary references, and release notes.
4444

4545
### Verification

0 commit comments

Comments
 (0)