]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1562: mixing package managers is not a good idea v9.0.1562
authorPhilip H <47042125+pheiduck@users.noreply.github.com>
Tue, 16 May 2023 19:11:02 +0000 (20:11 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 16 May 2023 19:11:02 +0000 (20:11 +0100)
Problem:    Mixing package managers is not a good idea.
Solution:   Install gcc 13 with apt-get. (closes #12405)

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

index bd903dc93e9fe3c85d566f2f65848fed02f7dd54..4e6f23ba80c1fc322edbd85669ca59a547ed5c11 100644 (file)
@@ -21,7 +21,7 @@ jobs:
 
     env:
       CC: ${{ matrix.compiler }}
-      GCC_VER: 12
+      GCC_VER: 13
       CLANG_VER: 16
       TEST: test
       SRCDIR: ./src
@@ -98,10 +98,9 @@ jobs:
       - name: Install gcc-${{ env.GCC_VER }}
         if:  matrix.compiler == 'gcc'
         run: |
-          eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
-          brew install gcc@${{ env.GCC_VER }}
-          sudo update-alternatives --install /usr/bin/gcc gcc /home/linuxbrew/.linuxbrew/bin/gcc-${{ env.GCC_VER }} 100
-          sudo update-alternatives --set gcc /home/linuxbrew/.linuxbrew/bin/gcc-${{ env.GCC_VER }}
+          sudo apt-get install -y gcc-${{ env.GCC_VER }}
+          sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ env.GCC_VER }} 100
+          sudo update-alternatives --set gcc /usr/bin/gcc-${{ env.GCC_VER }}
 
       - name: Install clang-${{ env.CLANG_VER }}
         if: matrix.compiler == 'clang'
index 9f6484354c3456a858eae081b7a8ba2e7e0a8902..80244d6fe26f9157895a7a4e683d5bc77d397cba 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1562,
 /**/
     1561,
 /**/