From db88f554be1c9b89dbf9d0ab6bfa7807841a7943 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Thu, 12 Sep 2024 01:15:56 +0300 Subject: [PATCH] CI: Run on Ubuntu 20.04 The 18.04 runners are not available anymore as per https://github.com/actions/virtual-environments/issues/6002 so use instead the lowest available version at the moment. While at it, update to the latest version of the upload-artifact action, as v1 is deprecated; and to Python 3.7 as 3.5 is no longer available. Lastly, update to Meson 0.55 because that's the version now required by libwpe. --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f24cde9..e858059 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: [push] jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: Checkout uses: actions/checkout@v2 @@ -15,11 +15,11 @@ jobs: sudo apt update sudo apt install -y flex libjson-glib-dev libxkbcommon-dev \ libegl1-mesa-dev libxml2-dev libxslt1-dev libyaml-dev llvm-dev \ - libclang-dev libglib2.0-dev libepoxy-dev ninja-build + libclang-dev libglib2.0-dev libepoxy-dev libwayland-dev ninja-build - name: Setup Python uses: actions/setup-python@v1 with: - python-version: 3.5 + python-version: 3.7 - name: Python Package Cache uses: actions/cache@v1 with: @@ -29,7 +29,7 @@ jobs: - name: Install Python Packages run: | python -m pip install --upgrade pip setuptools wheel - HOTDOC_BUILD_C_EXTENSION=enabled pip install hotdoc meson==0.49 + HOTDOC_BUILD_C_EXTENSION=enabled pip install hotdoc meson==0.55 - name: Fetch libwpe run: | if [[ -d ~/libwpe/.git ]] ; then @@ -55,7 +55,7 @@ jobs: run: | DESTDIR="$(pwd)/_work/files" ninja -C _work/build install - name: Archive Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: build path: _work