forked from os-fpga/litex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request os-fpga#1 from enjoy-digital/master
Bump to litex master
- Loading branch information
Showing
121 changed files
with
3,668 additions
and
1,428 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,21 +4,25 @@ on: [push, pull_request] | |
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-18.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/[email protected] | ||
|
||
- uses: ghdl/setup-ghdl-ci@master | ||
with: | ||
backend: llvm | ||
|
||
# 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 | ||
|
@@ -32,12 +36,9 @@ jobs: | |
# Install GCC Toolchains | ||
- name: Install GCC Toolchains | ||
run: | | ||
python3 litex_setup.py --gcc=riscv | ||
sudo mkdir /usr/local/riscv | ||
sudo cp -r $PWD/../riscv64-*/* /usr/local/riscv | ||
python3 litex_setup.py --gcc=openrisc | ||
sudo mkdir /usr/local/openrisc | ||
sudo cp -r $PWD/../openrisc-*/* /usr/local/openrisc | ||
sudo python3 litex_setup.py --gcc=riscv | ||
sudo python3 litex_setup.py --gcc=openrisc | ||
sudo python3 litex_setup.py --gcc=powerpc | ||
# Build / Install Verilator | ||
- name: Build Verilator | ||
|
@@ -57,6 +58,4 @@ jobs: | |
# Test | ||
- name: Run Tests | ||
run: | | ||
export PATH=/usr/local/riscv/bin:$PATH | ||
export PATH=/usr/local/openrisc/bin:$PATH | ||
python3 setup.py test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.