]> granicus.if.org Git - vim/commitdiff
patch 8.2.2507: github build may fail if Ubuntu 20.04 is used v8.2.2507
authorBram Moolenaar <Bram@vim.org>
Sat, 13 Feb 2021 16:08:33 +0000 (17:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 13 Feb 2021 16:08:33 +0000 (17:08 +0100)
Problem:    Github build may fail if Ubuntu 20.04 is used.  Installing rust is
            not needed.
Solution:   Specify ubuntu-18.04 instead of latest. Update "pip" instead of
            installing rust. (Ozaki Kiichi, closes #7820)

.github/workflows/ci.yml
src/version.c

index 77912f7b2e4ccd3881a870eeed776b442e6d8fb7..9127455bc1120fa317f467265cb27ef3248daee5 100644 (file)
@@ -7,7 +7,7 @@ on:
 
 jobs:
   linux:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-18.04
 
     env:
       CC: ${{ matrix.compiler }}
@@ -207,8 +207,8 @@ jobs:
           COVERALLS_PARALLEL: true
           TRAVIS_JOB_ID: ${{ github.run_id }}
         run: |
-          sudo apt-get install -y python3-setuptools python3-wheel rustc
-          pip3 install --user setuptools-rust
+          sudo apt-get install -y python3-setuptools python3-wheel
+          sudo -H pip3 install pip -U
           # needed for https support for coveralls building cffi only works with gcc, not with clang
           CC=gcc pip3 install --user cpp-coveralls pyopenssl ndg-httpsclient pyasn1
           ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8
@@ -228,7 +228,7 @@ jobs:
           done
 
   coveralls:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-18.04
 
     needs: linux
     if: always() && github.event_name != 'pull_request'
index 6d01fa8829b9077283992f5bd1b50d898990932d..eeddd866d1e3117b728c27605285ab886da5a880 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2507,
 /**/
     2506,
 /**/