From 15fdd9507e056b3a23b1bc7f2b904b4617be0946 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Mon, 9 Mar 2020 13:14:12 -0400
Subject: [PATCH] vcpython27

---
 .github/workflows/ci.yaml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 14597df..2d3d88e 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -15,16 +15,26 @@ jobs:
     - uses: actions/checkout@v2
       with:
         fetch-depth: "0"
-    # Get tags not fetched by the checkout action, needed for auto-versioning.
+
+      # Get tags not fetched by the checkout action, needed for auto-versioning.
     - run: "git fetch origin +refs/tags/*:refs/tags/*"
+
+    # Get MS VC++ 9 aka Visual Studio 2008, required to build Python 2.7
+    # extensions (zfec via Tahoe-LAFS).
+    - uses: "crazy-max/ghaction-chocolatey@v1"
+      with:
+        args: "install vcpython27"
+
     - name: Set up Python ${{ matrix.python-version }}
       uses: actions/setup-python@v1
       with:
         python-version: ${{ matrix.python-version }}
+
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
         pip install wheel tox
+
     - name: Get Tahoe-LAFS master
       run: |
         pip wheel --wheel-dir ./wheelhouse git+https://github.com/tahoe-lafs/tahoe-lafs@master#egg=tahoe-lafs
-- 
GitLab