branch: elpa/cider
commit 28b7ecdb3d3d893a3c7fccbb6a1506d664900caf
Author: ikappaki <[email protected]>
Commit: GitHub <[email protected]>

    Install and use win native gpg port for CI integration tests (#3845)
    
    * Install and use win native gpg port
    
    * Scoop only on Windows
    
    * remove dash
    
    ---------
    
    Co-authored-by: ikappaki <[email protected]>
---
 .github/workflows/test.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 5e82a845609..0f157570df3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -45,6 +45,21 @@ jobs:
       with:
         version: ${{matrix.emacs_version}}
 
+    # Emacs needs GPG to verify package signatures. The MSYS2 GPG
+    # bundled with the GitHub Windows runner cannot handle native
+    # Windows paths, so we install a native Windows port of GPG
+    # instead.
+    - name: Setup Scoop and GPG on Windows
+      if: startsWith (matrix.os, 'windows')
+      uses: MinoruSekine/[email protected]
+      with:
+        apps: gpg
+        scoop_update: false
+    - name: Add GPG at the beginning of PATH on Windows
+      if: startsWith (matrix.os, 'windows')
+      run: |
+        echo "C:\Users\runneradmin\scoop\apps\gpg\current\bin" >> 
$env:GITHUB_PATH
+
     - name: Install Eldev
       if: "!startsWith (matrix.os, 'windows')"
       run: curl -fsSL 
https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh

Reply via email to