github: Update to Ubuntu 22.04

Move to the latest Ubuntu LTS for updated tooling. This requires us to
drop the zlibc package which no longer exists, and doesn't appear to be
required. Also update to the master branch of the GHDL action as this
contains 22.04 support.

Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
Joel Stanley 2022-11-03 16:56:19 +10:30
parent a092927139
commit 917c839c30
1 changed files with 3 additions and 3 deletions
.github/workflows

View File

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
steps: steps:
# Checkout Repository # Checkout Repository
- name: Checkout - name: Checkout
@ -13,7 +13,7 @@ jobs:
- name: Setup CCache - name: Setup CCache
uses: hendrikmuhs/ccache-action@v1 uses: hendrikmuhs/ccache-action@v1
- uses: ghdl/setup-ghdl-ci@nightly - uses: ghdl/setup-ghdl-ci@master
with: with:
backend: llvm backend: llvm
@ -22,7 +22,7 @@ jobs:
run: | run: |
sudo apt-get install wget build-essential python3 ninja-build sudo apt-get install wget build-essential python3 ninja-build
sudo apt-get install libevent-dev libjson-c-dev flex bison sudo apt-get install libevent-dev libjson-c-dev flex bison
sudo apt-get install libfl-dev libfl2 zlibc zlib1g-dev sudo apt-get install libfl-dev libfl2 zlib1g-dev
pip3 install setuptools pip3 install setuptools
pip3 install requests pip3 install requests
pip3 install pexpect pip3 install pexpect