File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#
22# Network UPS Tools: AppVeyor CI build recipe: NUT for Windows with MSYS2/MinGW x64
33#
4+ # Copyright (C) 2022-2026 Jim Klimov <jimklimov+nut@gmail.com>
5+ #
6+ # Inspired by docs:
47# https://www.msys2.org/docs/ci/
58# https://www.appveyor.com/docs/appveyor-yml/
69# https://www.appveyor.com/docs/build-configuration/
@@ -29,6 +32,7 @@ environment:
2932 CCACHE_DIR : /home/appveyor/.ccache
3033 DO_CLEAN_NUTCI_CACHE : no
3134 DO_USE_NUTCI_CACHE : yes
35+ MSYS : " winsymlinks:nativestrict"
3236
3337# Customize GH notification message template
3438# TODO: for repetitive commits in a PR consider a clean-up GHA like
@@ -172,7 +176,8 @@ after_test:
172176 C:\msys64\usr\bin\bash -lc 'date -u; set -e ; rm -rf ./.inst/NUT-for-Windows-x86_64-SNAPSHOT || true ; ln -fs "NUT-for-Windows-x86_64-SNAPSHOT-%APPVEYOR_BUILD_VERSION%" ./.inst/NUT-for-Windows-x86_64-SNAPSHOT ; ( cd .inst/NUT-for-Windows-x86_64-SNAPSHOT ; find . -ls ; )'
173177 C:\msys64\usr\bin\bash -lc 'date -u'
174178 cd .inst
175- 7z a ../NUT-for-Windows-x86_64-SNAPSHOT-%APPVEYOR_BUILD_VERSION%.7z NUT*
179+ REM 7z -snh: hoping for a version that can save hardlinks as such, and in 7z format to boot:
180+ 7z a -snh ../NUT-for-Windows-x86_64-SNAPSHOT-%APPVEYOR_BUILD_VERSION%.7z NUT*
176181
177182 # Consider APPVEYOR_PULL_REQUEST_HEAD_COMMIT (PR) vs APPVEYOR_REPO_COMMIT (target branch, or ephemeral)
178183 - ps : |
You can’t perform that action at this time.
0 commit comments