From: Darren Tucker Date: Fri, 9 May 2025 22:52:11 +0000 (+1000) Subject: Tell Cygwin to use native symlinks. X-Git-Tag: V_10_1_P1~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1b28639c1cb382943bd92c68992ea74af9b5773;p=thirdparty%2Fopenssh-portable.git Tell Cygwin to use native symlinks. --- diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh index 81cdc1368..356823bc6 100755 --- a/.github/setup_ci.sh +++ b/.github/setup_ci.sh @@ -10,7 +10,7 @@ case "$host" in *cygwin) PACKAGER=setup echo Setting CYGWIN system environment variable. - setx CYGWIN "binmode" + setx CYGWIN "binmode winsymlinks:native" echo Removing extended ACLs so umask works as expected. set -x setfacl -b . regress diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 0807ae851..8c0e0a91b 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -124,6 +124,8 @@ jobs: id: cygwin_install if: ${{ startsWith(matrix.target, 'windows') }} uses: cygwin/cygwin-install-action@master + env: + CYGWIN: "binmode winsymlinks:native" - uses: actions/checkout@main - name: setup CI system run: sh ./.github/setup_ci.sh ${{ matrix.config }}