Skip to content

Commit

Permalink
Fix for NSIS PATH size limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
aqnuep authored and aqnuep committed Oct 3, 2023
1 parent a100217 commit a16b4f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ on:
jobs:
mingw:
runs-on: windows-latest
defaults:
run:
shell: bash
env:
WERROR: ON

Expand All @@ -36,9 +39,8 @@ jobs:
# Fetch all history to make sure tags are
# included (used for version creation)
fetch-depth: 0
- uses: egor-tensin/setup-mingw@v2
with:
platform: x64
- name: GCC Version
run: gcc --version # If this fails MINGW is not setup correctly
- name: Force update provoking tag
# Work around https://github.com/actions/checkout/issues/290.
if: github.ref_type == 'tag'
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ jobs:
# included (used for version creation)
fetch-depth: 0

- name: Install NSIS with large string support
shell: bash
run: |
stack exec -- wget -O nsis-3.08-strlen_8192.zip https://downloads.sourceforge.net/nsis/NSIS%203/3.08/nsis-3.08-strlen_8192.zip
7z x -aoa -o"/c/Program Files (x86)/NSIS" nsis-3.08-strlen_8192.zip
rm nsis-3.08-strlen_8192.zip
- name: Force fetch provoking tag's annotation.
# Work around https://github.com/actions/checkout/issues/290.
if: github.ref_type == 'tag'
Expand Down

0 comments on commit a16b4f2

Please sign in to comment.