Skip to content

Commit

Permalink
Build in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fallen committed Dec 15, 2023
1 parent 289c6e2 commit 8d122bf
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
run-name: Continuous Integration
on: [push]
jobs:
CI:
name: Continuous Integration
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Fetch nextpnr-ecp5 and Yosys
run: wget https://github.com/fallen/yosys_nextpnr_tools_for_ci/raw/main/tools.tar.gz
- name: Install nextpnr-ecp5 and Yosys
run: |
echo "PATH=/opt/bin:$PATH" >> "$GITHUB_ENV"
echo "LD_LIBRARY_PATH=/opt/lib:$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
sudo tar -C / -xzf $PWD/tools.tar.gz
sudo apt-get -y install libboost-system1.74.0 libboost-python1.74.0 libboost-filesystem1.74.0 libboost-program-options1.74.0 libreadline8 libtcl8.6 libffi8
- name: Install Python requirements
run: |
sudo apt-get -y install python3-pip
sudo -H pip3 install --upgrade pip
pip install pipenv
pipenv install --ignore-pipfile
- name: Build the FPGA bitstream
run: |
nextpnr-ecp5 --version
yosys --version
pipenv run python3 ./sucrela.py --build

0 comments on commit 8d122bf

Please sign in to comment.