Skip to content

Commit

Permalink
CI: Run on Ubuntu 20.04
Browse files Browse the repository at this point in the history
The 18.04 runners are not available anymore as per
actions/runner-images#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.
  • Loading branch information
aperezdc committed Sep 11, 2024
1 parent af922a8 commit db88f55
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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

0 comments on commit db88f55

Please sign in to comment.