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)
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CC: ${{ matrix.compiler }}
|
CC: ${{ matrix.compiler }}
|
||||||
@ -207,8 +207,8 @@ jobs:
|
|||||||
COVERALLS_PARALLEL: true
|
COVERALLS_PARALLEL: true
|
||||||
TRAVIS_JOB_ID: ${{ github.run_id }}
|
TRAVIS_JOB_ID: ${{ github.run_id }}
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y python3-setuptools python3-wheel rustc
|
sudo apt-get install -y python3-setuptools python3-wheel
|
||||||
pip3 install --user setuptools-rust
|
sudo -H pip3 install pip -U
|
||||||
# needed for https support for coveralls building cffi only works with gcc, not with clang
|
# 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
|
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
|
~/.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
|
done
|
||||||
|
|
||||||
coveralls:
|
coveralls:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
needs: linux
|
needs: linux
|
||||||
if: always() && github.event_name != 'pull_request'
|
if: always() && github.event_name != 'pull_request'
|
||||||
|
|||||||
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2507,
|
||||||
/**/
|
/**/
|
||||||
2506,
|
2506,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user