CI: mingw complains about unknown escape sequence: 'l', fails with libsodium 
(#14259)

Commit: 
https://github.com/vim/vim/commit/f976e2c956eb8f1643bc110bd4e3fbb8021a754d
Author: Christian Brabandt <c...@256bit.org>
Date:   Thu Mar 21 20:55:22 2024 +0000

    CI: mingw complains about unknown escape sequence: '\l', fails with 
libsodium (https://github.com/vim/vim/issues/14259)
    
    Problem:  CI: mingw complains about unknown escape sequence: '\l', fails 
with sodium v1.0.19
    Solution: Use other slash instead, also revert sodium version to v1.0.18
    
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bc76c4c2c..aae3ba492 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -408,7 +408,7 @@ jobs:
       # winpty
       WINPTY_URL: 
https://github.com/rprichard/winpty/releases/download/0.4.3/winpty-0.4.3-msvc2015.zip
       # libsodium
-      SODIUM_VER: '1.0.19'
+      SODIUM_VER: '1.0.18'
       SODIUM_MSVC_URL: 
https://download.libsodium.org/libsodium/releases/libsodium-%SODIUM_VER%-stable-msvc.zip
       SODIUM_MSVC_VER: v143
       SODIUM_MINGW_URL: 
https://download.libsodium.org/libsodium/releases/libsodium-%SODIUM_VER%-stable-mingw.tar.gz
@@ -474,7 +474,10 @@ jobs:
             echo "SODIUM_LIB=${SODIUM_DIR}\${{ matrix.arch == 'x64' && 'x64' 
|| 'Win32' }}\Release\${SODIUM_MSVC_VER}\dynamic" >> $GITHUB_ENV
           else
             SODIUM_DIR=D:\libsodium-win${{ matrix.arch == 'x64' && '64' || 
'32' }}
+            # do not want \L to end up in pathdef.c and compiler complaining 
about unknown escape sequences \l
+            SODIUM_DIR_SLASH=D:/libsodium-win${{ matrix.arch == 'x64' && '64' 
|| '32' }}
             echo "SODIUM_LIB=${SODIUM_DIR}\bin" >> $GITHUB_ENV
+            echo "SODIUM_DIR_SLASH=${SODIUM_DIR_SLASH}" >> $GITHUB_ENV
           fi
           echo "SODIUM_DIR=${SODIUM_DIR}" >> $GITHUB_ENV
 
@@ -598,7 +601,7 @@ jobs:
               DYNAMIC_PYTHON=yes PYTHON=${PYTHON_DIR} \
               DYNAMIC_PYTHON3=yes PYTHON3=${PYTHON3_DIR} \
               DYNAMIC_PYTHON3_STABLE_ABI=${PYTHON3_STABLE} \
-              DYNAMIC_SODIUM=yes SODIUM=${SODIUM_DIR} \
+              DYNAMIC_SODIUM=yes SODIUM=${SODIUM_DIR_SLASH} \
               STATIC_STDCPLUS=yes COVERAGE=${{ matrix.coverage }}
           else
             mingw32-make -f Make_ming.mak -j2 \

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1rnPW7-00FYRv-C7%40256bit.org.

Raspunde prin e-mail lui