Skip to content

Commit

Permalink
ci: Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Feb 27, 2023
1 parent 150d46e commit 876f36c
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ 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/[email protected]
# Install Tools
- name: Install Tools
run: |
Expand All @@ -23,15 +25,13 @@ jobs:
- 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
# Install RISC-V GCC
- name: Install RISC-V GCC
# Install GCC Toolchains
- name: Install GCC Toolchains
run: |
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
python3 litex_setup.py gcc
sudo mkdir /usr/local/riscv
sudo cp -r $PWD/../riscv64-*/* /usr/local/riscv
python3 litex_setup.py --gcc=riscv
# Install Project
- name: Install Project
Expand All @@ -40,5 +40,4 @@ jobs:
# Test
- name: Run Tests
run: |
export PATH=/usr/local/riscv/bin:$PATH
python3 setup.py test

0 comments on commit 876f36c

Please sign in to comment.