feat(ci): setup exe for windows builds

Update installer.nsi
This commit is contained in:
CLARATION committed 2026-07-07 22:05:37 -07:00
1 parent e747273c5c
commit ef3b94b996
2 files changed
+102 -3

No files matched your search

+15 -3
View File
@@ -228,7 +228,10 @@ jobs:
mv "libusbK-tmp/${LIBUSBK_VERSION}" libusbK
mv "${LIBUSBK_WDFCOINSTALLER}" "${LIBUSBK_WDFCOINSTALLER_RENAMED}"
- name: Set up MSYS2
- name: Install dependencies (choco)
run: choco install nsis.portable
- name: Install dependencies (msys2)
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
@@ -253,11 +256,20 @@ jobs:
run: |
make palera1n_mingw WITH_STATIC=1 WITH_GUI=1 BUILD_TYPE=Release JOBS=$(nproc)
strip -s build/palera1n.exe
- name: Package
run: |
mkdir -p dist\installer
copy build\*.exe dist\installer\
copy build\*.dll dist\installer\
copy packaging\installer.nsi dist\installer\
copy resources\palera1n.ico dist\installer\icon.ico
makensis dist\installer\installer.nsi
move dist\installer\installer.exe dist\palera1n-windows-x86_64-setup.exe
- name: Upload
uses: actions/upload-artifact@v4
with:
name: palera1n-windows-x86_64
path: |
build/*.exe
build/*.dll
dist/palera1n-windows-x86_64-setup.exe