Patch 9.0.1553

5 views
Skip to first unread message

Bram Moolenaar

unread,
May 13, 2023, 1:06:32 PM5/13/23
to vim...@googlegroups.com

Patch 9.0.1553
Problem: CI: using slightly outdated gcc version.
Solution: Use "brew" to get a more recent gcc version. (closes #12391)
Files: .github/workflows/ci.yml


*** ../vim-9.0.1552/.github/workflows/ci.yml 2023-05-13 17:46:06.813142397 +0100
--- .github/workflows/ci.yml 2023-05-13 18:03:36.727811875 +0100
***************
*** 98,106 ****
- name: Install gcc-${{ env.GCC_VER }}
if: matrix.compiler == 'gcc'
run: |
! 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'
--- 98,107 ----
- 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 }}

- name: Install clang-${{ env.CLANG_VER }}
if: matrix.compiler == 'clang'
*** ../vim-9.0.1552/src/version.c 2023-05-13 17:46:06.813142397 +0100
--- src/version.c 2023-05-13 18:04:52.824005683 +0100
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1553,
/**/

--
If you put seven of the most talented OSS developers in a room
and ask them to fix a bug in a spreadsheet program, in one week
you'd have 2 new mail readers and a text-based web browser.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages