ci: Increase similarities with LiteX CI.
This commit is contained in:
parent
b452f09df6
commit
d8c327b2b1
|
@ -13,6 +13,10 @@ jobs:
|
||||||
- name: Setup CCache
|
- name: Setup CCache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
|
||||||
|
- uses: ghdl/setup-ghdl-ci@master
|
||||||
|
with:
|
||||||
|
backend: llvm
|
||||||
|
|
||||||
# Install Tools
|
# Install Tools
|
||||||
- name: Install Tools
|
- name: Install Tools
|
||||||
run: |
|
run: |
|
||||||
|
@ -20,7 +24,7 @@ jobs:
|
||||||
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 zlib1g-dev
|
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
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
|
@ -35,10 +39,10 @@ jobs:
|
||||||
- name: Install LiteX
|
- name: Install LiteX
|
||||||
run: |
|
run: |
|
||||||
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
|
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
|
# Install GCC Toolchains
|
||||||
- name: Install RISC-V GCC
|
- name: Install GCC Toolchains
|
||||||
run: |
|
run: |
|
||||||
sudo python3 litex_setup.py --gcc=riscv
|
sudo python3 litex_setup.py --gcc=riscv
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue