Skip to content

Commit b91def3

Browse files
authored
Include third-party binaries in build workflow
Updated the workflow to include third-party binaries in the build process and adjusted extraction steps.
1 parent 3d96365 commit b91def3

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.github/workflows/build_executable_without_Wix.yaml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ jobs:
171171
#${{ github.workspace }}/OpenMS/bld/bin/FileConverter.exe
172172
#${{ github.workspace }}/OpenMS/bld/bin/PercolatorAdapter.exe
173173
#${{ github.workspace }}/OpenMS/bld/bin/*.dll
174-
#${{ github.workspace }}/_thirdparty/*.exe
175-
#${{ github.workspace }}/_thirdparty/ThermoRawFileParser/**
176-
#${{ github.workspace }}/_thirdparty/Percolator/**
174+
${{ github.workspace }}/_thirdparty/*.exe
175+
${{ github.workspace }}/_thirdparty/ThermoRawFileParser/**
176+
${{ github.workspace }}/_thirdparty/Percolator/**
177177
178178
build-executable:
179179
runs-on: windows-2022
@@ -193,13 +193,19 @@ jobs:
193193
name: openms-package
194194
path: openms-package
195195

196-
- name: Extract bin and share from package
196+
- name: Extract bin, share, and third-party from package
197197
run: |
198198
cd openms-package
199199
unzip "*.zip" -d .
200+
201+
# Copy OpenMS binaries and share folder
200202
cp -r openms-package/bin ../openms-bin
201203
cp -r openms-package/share ../share
202-
204+
205+
# Copy third-party binaries and folders
206+
mkdir -p ../_thirdparty
207+
cp -r openms-package/_thirdparty/* ../_thirdparty
208+
203209
- name: Set up Python (regular distribution)
204210
uses: actions/setup-python@v5
205211
with:
@@ -290,6 +296,12 @@ jobs:
290296
Copy-Item "openms-bin/${file}.exe" -Destination "streamlit_exe/${file}.exe"
291297
}
292298
299+
# Copy third-party binaries and folders
300+
mkdir -p streamlit_exe/_thirdparty
301+
cp _thirdparty/*.exe streamlit_exe/_thirdparty/
302+
cp -r _thirdparty/ThermoRawFileParser streamlit_exe/_thirdparty/
303+
cp -r _thirdparty/Percolator streamlit_exe/_thirdparty/
304+
293305
- name: Generate Readme.txt
294306
shell: bash
295307
run: |

0 commit comments

Comments
 (0)