Skip to content

Commit

Permalink
ci: improve and update github action
Browse files Browse the repository at this point in the history
improve and update github action

Signed-off-by: Fin Maaß <[email protected]>
  • Loading branch information
maass-hamburg committed Sep 16, 2024
1 parent 1be6e1d commit 72ff3bb
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,31 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
# Checkout Repository
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

# Install Tools
- name: Install Tools
run: |
sudo apt-get install wget build-essential python3
pip3 install setuptools
sudo apt-get install wget build-essential python3 python3-setuptools
- name: Set up Python
uses: actions/setup-python@v4

# Install (n)Migen / LiteX / Cores
- name: Install LiteX
run: |
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
python3 litex_setup.py init install --user
python3 litex_setup.py init install --user --config=minimal
# Install Project
- name: Install Project
run: python3 setup.py develop --user
run: python3 -m pip install --editable . --user

# Test
- name: Run Tests
run: python3 setup.py test
run: python3 -m unittest

0 comments on commit 72ff3bb

Please sign in to comment.