Skip to content

Commit 28b7ecd

Browse files
authored
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 <ikappaki@users.noreply.github.com>
1 parent 9b3f846 commit 28b7ecd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@ jobs:
4545
with:
4646
version: ${{matrix.emacs_version}}
4747

48+
# Emacs needs GPG to verify package signatures. The MSYS2 GPG
49+
# bundled with the GitHub Windows runner cannot handle native
50+
# Windows paths, so we install a native Windows port of GPG
51+
# instead.
52+
- name: Setup Scoop and GPG on Windows
53+
if: startsWith (matrix.os, 'windows')
54+
uses: MinoruSekine/setup-scoop@v4.0.2
55+
with:
56+
apps: gpg
57+
scoop_update: false
58+
- name: Add GPG at the beginning of PATH on Windows
59+
if: startsWith (matrix.os, 'windows')
60+
run: |
61+
echo "C:\Users\runneradmin\scoop\apps\gpg\current\bin" >> $env:GITHUB_PATH
62+
4863
- name: Install Eldev
4964
if: "!startsWith (matrix.os, 'windows')"
5065
run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh

0 commit comments

Comments
 (0)