-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: migrate from Travis CI to Github Actions.
- Loading branch information
1 parent
94e2d15
commit 0a67448
Showing
3 changed files
with
32 additions
and
23 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
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 |
This file was deleted.
Oops, something went wrong.
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