Skip to content

Commit a00067b

Browse files
committed
ci: Add workaround for Emacs 27.2's Windows build from GNU FTP
1 parent a860252 commit a00067b

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.github/workflows/integ.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ jobs:
3030
if: runner.os == 'Windows'
3131
with:
3232
version: ${{ matrix.emacs-version }}
33+
# Remove expired DST Root CA X3 certificate. Workaround for
34+
# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51038 bug on Emacs 27.2.
35+
# https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-1126671598
36+
- name: Workaround for Emacs 27.2's Windows build from GNU FTP
37+
if: ${{ runner.os == 'Windows' && matrix.emacs-version == '27.2' }}
38+
run: |
39+
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13
40+
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13 | Remove-Item
3341
3442
- uses: actions/checkout@v2
3543
with:

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ jobs:
5959
if: runner.os == 'Windows'
6060
with:
6161
version: ${{ matrix.emacs-version }}
62+
# Remove expired DST Root CA X3 certificate. Workaround for
63+
# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51038 bug on Emacs 27.2.
64+
# https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-1126671598
65+
- name: Workaround for Emacs 27.2's Windows build from GNU FTP
66+
if: ${{ runner.os == 'Windows' && matrix.emacs-version == '27.2' }}
67+
run: |
68+
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13
69+
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13 | Remove-Item
6270
6371
- uses: actions/checkout@v2
6472
with:

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ jobs:
5050
if: runner.os == 'Windows'
5151
with:
5252
version: ${{ matrix.emacs-version }}
53+
# Remove expired DST Root CA X3 certificate. Workaround for
54+
# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51038 bug on Emacs 27.2.
55+
# https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-1126671598
56+
- name: Workaround for Emacs 27.2's Windows build from GNU FTP
57+
if: ${{ runner.os == 'Windows' && matrix.emacs-version == '27.2' }}
58+
run: |
59+
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13
60+
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13 | Remove-Item
5361
5462
- uses: actions/checkout@v2
5563
with:
@@ -138,10 +146,19 @@ jobs:
138146
if: runner.os != 'Windows'
139147
with:
140148
version: ${{ matrix.emacs-version }}
149+
141150
- uses: jcs090218/setup-emacs-windows@6e1ba035e1387639a42f4ef4872598c88481c863
142151
if: runner.os == 'Windows'
143152
with:
144153
version: ${{ matrix.emacs-version }}
154+
# Remove expired DST Root CA X3 certificate. Workaround for
155+
# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51038 bug on Emacs 27.2.
156+
# https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-1126671598
157+
- name: Workaround for Emacs 27.2's Windows build from GNU FTP
158+
if: ${{ runner.os == 'Windows' && matrix.emacs-version == '27.2' }}
159+
run: |
160+
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13
161+
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13 | Remove-Item
145162
146163
- uses: actions/checkout@v2
147164

0 commit comments

Comments
 (0)