Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
litex-boards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kestrel Collaboration
Kestrel LiteX
litex-boards
Commits
b9d9af31
Commit
b9d9af31
authored
Nov 24, 2020
by
Florent Kermarrec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: switch from Travis CI to Github Actions.
parent
159a0c75
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
22 deletions
+33
-22
.github/workflows/ci.yml
.github/workflows/ci.yml
+31
-0
.travis.yml
.travis.yml
+0
-22
README.md
README.md
+2
-0
No files found.
.github/workflows/ci.yml
0 → 100644
View file @
b9d9af31
name
:
ci
on
:
[
push
,
pull_request
]
jobs
:
build
:
runs-on
:
ubuntu-18.04
steps
:
# Checkout Repository
-
name
:
Checkout
uses
:
actions/checkout@v2
# Install Tools
-
name
:
Install Tools
run
:
|
sudo apt-get install wget build-essential python3
pip3 install setuptools
# 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
# Install Project
-
name
:
Install Project
run
:
python3 setup.py develop --user
# Test
-
name
:
Run Tests
run
:
python3 setup.py test
.travis.yml
deleted
100644 → 0
View file @
159a0c75
language
:
python
dist
:
Xenial
python
:
"
3.6"
install
:
# Get Migen / LiteX / Cores
-
cd ~/
-
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
-
python3 litex_setup.py init install
# Install the version being tested
-
cd $TRAVIS_BUILD_DIR
-
python3 setup.py install
before_script
:
# Get RISC-V toolchain
-
wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
-
tar -xvf riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
-
export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/
script
:
-
cd $TRAVIS_BUILD_DIR
-
python setup.py test
README.md
View file @
b9d9af31
...
...
@@ -8,6 +8,8 @@
Copyright 2012-2020 / LiteX-Hub community
[](https://github.com/litex-hub/litex-boards/actions) 
[> Intro
--------
<figure>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment