From 99e2342a6b129cfc69f23081b9efb826f9aa950e Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Thu, 21 May 2020 17:41:45 +0430 Subject: [PATCH] [ci] Install newer meson from pip --- .circleci/config.yml | 8 ++++---- appveyor.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 08b881cad..745eb8781 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,8 +48,8 @@ jobs: - image: ubuntu:19.10 steps: - checkout - - run: apt update && apt install -y git ninja-build binutils libtool autoconf automake make gcc g++ pkg-config ragel gtk-doc-tools libfontconfig1-dev libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip meson cmake - - run: pip install fonttools + - run: apt update && apt install -y git ninja-build binutils libtool autoconf automake make gcc g++ pkg-config ragel gtk-doc-tools libfontconfig1-dev libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python3 python3-pip cmake + - run: pip3 install fonttools meson --upgrade - run: ./autogen.sh - run: make -j32 - run: make distcheck || .ci/fail.sh @@ -227,8 +227,8 @@ jobs: - image: ubuntu:19.10 steps: - checkout - - run: apt update && apt install -y ninja-build binutils meson gcc g++ pkg-config ragel gtk-doc-tools libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip - - run: pip install fonttools + - run: apt update && apt install -y ninja-build binutils meson gcc g++ pkg-config ragel gtk-doc-tools libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python3 python3-pip + - run: pip3 install fonttools meson --upgrade - run: meson build && ninja -Cbuild test && rm -rf build # test amalgam build - run: meson build -Damalgam=true && ninja -Cbuild && rm -rf build diff --git a/appveyor.yml b/appveyor.yml index e61d8f5ed..1baf17555 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -33,8 +33,8 @@ environment: install: - - 'if "%compiler%"=="msys2" C:\msys64\usr\bin\bash -lc "pacman --noconfirm --force -S --needed mingw-w64-$MSYS2_ARCH-{gcc,freetype,cairo,icu,gettext,gobject-introspection,gcc,gcc-libs,glib2,graphite2,pkg-config,python3,python3-pip,ragel,meson,ninja}"' - - 'if "%compiler%"=="msys2" C:\msys64\usr\bin\bash -lc "pip install fonttools"' + - 'if "%compiler%"=="msys2" C:\msys64\usr\bin\bash -lc "pacman --noconfirm --force -S --needed mingw-w64-$MSYS2_ARCH-{gcc,freetype,cairo,icu,gettext,gobject-introspection,gcc,gcc-libs,glib2,graphite2,pkg-config,python3,python3-pip,ragel,ninja}"' + - 'if "%compiler%"=="msys2" C:\msys64\usr\bin\bash -lc "pip install fonttools meson"' build_script: - set "PYTHON_ROOT=C:\python37-x64"