]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Tell Cygwin to use native symlinks.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 9 May 2025 22:52:11 +0000 (08:52 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 9 May 2025 22:54:31 +0000 (08:54 +1000)
.github/setup_ci.sh
.github/workflows/c-cpp.yml

index 81cdc1368fdd28d33afe0372371b639a0663d5f6..356823bc6669a3418d5deee1f30be333ed15c9d7 100755 (executable)
@@ -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
index 0807ae8516fce78f3c2860654a9d95c48efad67b..8c0e0a91b1ee77834c729b6a2077e3804a12db7f 100644 (file)
@@ -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 }}