ci: Increase similarities with LiteX CI.

This commit is contained in:
Florent Kermarrec 2023-05-23 16:41:59 +02:00
parent b452f09df6
commit d8c327b2b1
1 changed files with 8 additions and 4 deletions

View File

@ -13,6 +13,10 @@ jobs:
- name: Setup CCache
uses: hendrikmuhs/ccache-action@v1.2
- uses: ghdl/setup-ghdl-ci@master
with:
backend: llvm
# Install Tools
- name: Install Tools
run: |
@ -20,7 +24,7 @@ jobs:
sudo apt-get install libevent-dev libjson-c-dev flex bison
sudo apt-get install libfl-dev libfl2 zlib1g-dev
- name: Set up Python 3.9
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "3.9"
@ -35,10 +39,10 @@ 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: |
sudo python3 litex_setup.py --gcc=riscv