comparison .github/workflows/ci.yml @ 23929:c0669a521a71 v8.2.2507

patch 8.2.2507: github build may fail if Ubuntu 20.04 is used Commit: https://github.com/vim/vim/commit/0fa09676c25a0a4a01f339887b8bf40b4673621f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 13 17:08:33 2021 +0100 patch 8.2.2507: github build may fail if Ubuntu 20.04 is used 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)
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Feb 2021 17:15:05 +0100
parents 9bd721a95893
children 7e9e53a0368f
comparison
equal deleted inserted replaced
23928:45fb23517cc3 23929:c0669a521a71
5 branches: ['**'] 5 branches: ['**']
6 pull_request: 6 pull_request:
7 7
8 jobs: 8 jobs:
9 linux: 9 linux:
10 runs-on: ubuntu-latest 10 runs-on: ubuntu-18.04
11 11
12 env: 12 env:
13 CC: ${{ matrix.compiler }} 13 CC: ${{ matrix.compiler }}
14 TEST: test 14 TEST: test
15 SRCDIR: ./src 15 SRCDIR: ./src
205 env: 205 env:
206 COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} 206 COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
207 COVERALLS_PARALLEL: true 207 COVERALLS_PARALLEL: true
208 TRAVIS_JOB_ID: ${{ github.run_id }} 208 TRAVIS_JOB_ID: ${{ github.run_id }}
209 run: | 209 run: |
210 sudo apt-get install -y python3-setuptools python3-wheel rustc 210 sudo apt-get install -y python3-setuptools python3-wheel
211 pip3 install --user setuptools-rust 211 sudo -H pip3 install pip -U
212 # needed for https support for coveralls building cffi only works with gcc, not with clang 212 # needed for https support for coveralls building cffi only works with gcc, not with clang
213 CC=gcc pip3 install --user cpp-coveralls pyopenssl ndg-httpsclient pyasn1 213 CC=gcc pip3 install --user cpp-coveralls pyopenssl ndg-httpsclient pyasn1
214 ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8 214 ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8
215 215
216 - name: Codecov 216 - name: Codecov
226 asan_symbolize-11 -l "$f" 226 asan_symbolize-11 -l "$f"
227 false # in order to fail a job 227 false # in order to fail a job
228 done 228 done
229 229
230 coveralls: 230 coveralls:
231 runs-on: ubuntu-latest 231 runs-on: ubuntu-18.04
232 232
233 needs: linux 233 needs: linux
234 if: always() && github.event_name != 'pull_request' 234 if: always() && github.event_name != 'pull_request'
235 235
236 steps: 236 steps: