Try fix ci (#544)

* use apt-get

* try bump ubuntu ver
This commit is contained in:
Giovanni Petrantoni 2021-03-15 14:50:36 +09:00 committed by GitHub
parent ba0a57ee34
commit c5b9fd3353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@ jobs:
include: include:
- target: - target:
os: linux os: linux
builder: ubuntu-18.04 builder: ubuntu-20.04
- target: - target:
os: macos os: macos
builder: macos-10.15 builder: macos-10.15
@ -47,8 +47,8 @@ jobs:
if: runner.os == 'Linux' && matrix.target.cpu == 'i386' if: runner.os == 'Linux' && matrix.target.cpu == 'i386'
run: | run: |
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
sudo apt-fast update -qq sudo apt-get update -qq
sudo DEBIAN_FRONTEND='noninteractive' apt-fast install \ sudo DEBIAN_FRONTEND='noninteractive' apt-get install \
--no-install-recommends -yq gcc-multilib g++-multilib \ --no-install-recommends -yq gcc-multilib g++-multilib \
libssl-dev:i386 libssl-dev:i386
mkdir -p external/bin mkdir -p external/bin
@ -167,13 +167,13 @@ jobs:
# - name: Install library dependencies (Linux amd64) # - name: Install library dependencies (Linux amd64)
# if: runner.os == 'Linux' && matrix.target.cpu == 'amd64' # if: runner.os == 'Linux' && matrix.target.cpu == 'amd64'
# run: | # run: |
# sudo DEBIAN_FRONTEND='noninteractive' apt-fast install \ # sudo DEBIAN_FRONTEND='noninteractive' apt-get install \
# --no-install-recommends -yq libgmp-dev # --no-install-recommends -yq libgmp-dev
# #
# - name: Install library dependencies (Linux i386) # - name: Install library dependencies (Linux i386)
# if: runner.os == 'Linux' && matrix.target.cpu == 'i386' # if: runner.os == 'Linux' && matrix.target.cpu == 'i386'
# run: | # run: |
# sudo DEBIAN_FRONTEND='noninteractive' apt-fast install \ # sudo DEBIAN_FRONTEND='noninteractive' apt-get install \
# libgmp-dev:i386 # libgmp-dev:i386
# #
# - name: Install library dependencies (macOS) # - name: Install library dependencies (macOS)