ci: Switch to ubuntu 22.04 and increase similarities with LiteX's CI.
This commit is contained in:
parent
6b00d1adce
commit
3b2bcf91ed
|
@ -4,21 +4,21 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
# Checkout Repository
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup CCache
|
||||
uses: hendrikmuhs/ccache-action@v1
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
|
||||
# Install Tools
|
||||
- name: Install Tools
|
||||
run: |
|
||||
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 libfl-dev libfl2 zlibc zlib1g-dev
|
||||
sudo apt-get install libfl-dev libfl2 zlib1g-dev
|
||||
pip3 install setuptools
|
||||
pip3 install requests
|
||||
pip3 install pexpect
|
||||
|
@ -53,5 +53,4 @@ jobs:
|
|||
# Test
|
||||
- name: Run Tests
|
||||
run: |
|
||||
export PATH=/usr/local/riscv/bin:$PATH
|
||||
python3 setup.py test
|
||||
|
|
Loading…
Reference in New Issue