Skip to content

Commit a874196

Browse files
committed
Merge remote-tracking branch 'tracsis/master' into release
2 parents ad4b5e1 + 0193dbb commit a874196

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

.github/workflows/integration-tests.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,25 @@ jobs:
7272
~\AppData\Roaming\stack
7373
~\AppData\Local\Programs\stack
7474
key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('stack.yaml') }}-${{ matrix.cache-bust }}
75-
75+
- name: Install NSIS 3.10 on Windows
76+
if: startsWith(runner.os, 'Windows')
77+
uses: repolevedavaj/[email protected]
78+
with:
79+
nsis-version: '3.10'
80+
# Upgrades to a 'large strings' build of NSIS 3.10 tool. See
81+
# https://nsis.sourceforge.io/Special_Builds.
82+
- name: Upgrade NSIS 3.10 on Windows
83+
if: startsWith(runner.os, 'Windows')
84+
shell: bash
85+
run: |
86+
# wget is not available but the Stack-supplied MSYS2 will provide it
87+
stack exec -- wget -O nsis-3.10-strlen_8192.zip https://downloads.sourceforge.net/nsis/NSIS%203/3.10/nsis-3.10-strlen_8192.zip
88+
7z x -aoa -o"/c/Program Files (x86)/NSIS" nsis-3.10-strlen_8192.zip
89+
# Clean up
90+
rm nsis-3.10-strlen_8192.zip
91+
makensis -VERSION && echo
92+
# Should include defined symbol NSIS_MAX_STRLEN=8192
93+
makensis -HDRINFO
7694
- name: Install deps and run checks
7795
shell: bash
7896
run: |
@@ -132,20 +150,6 @@ jobs:
132150
EOF
133151
fi
134152
135-
# Updates NSIS 3.10 to a 'large strings' build of the same tool. See
136-
# https://nsis.sourceforge.io/Special_Builds.
137-
if [[ "${{ matrix.os }}" == "windows-latest" ]]
138-
then
139-
# wget is not available but the Stack-supplied MSYS2 will provide it
140-
stack exec -- wget -O nsis-3.10-strlen_8192.zip https://downloads.sourceforge.net/nsis/NSIS%203/3.10/nsis-3.10-strlen_8192.zip
141-
7z x -aoa -o"/c/Program Files (x86)/NSIS" nsis-3.10-strlen_8192.zip
142-
# Clean up
143-
rm nsis-3.10-strlen_8192.zip
144-
makensis -VERSION && echo
145-
# Should include defined symbol NSIS_MAX_STRLEN=8192
146-
makensis -HDRINFO
147-
fi
148-
149153
# In case GHCup hooks have been created, remove them
150154
if [ -d $(stack path --stack-root)/hooks ]
151155
then

0 commit comments

Comments
 (0)