From 5befa2579115d1235fe01a7d73277e232728cfba 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. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f24cde9..09897e3 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: @@ -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