aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-31 15:14:51 +0100
committerGitHub <noreply@github.com>2021-03-31 15:14:51 +0100
commitec98fee1eefd61d17ccfaf58bae72e1cc0f9e5e3 (patch)
tree560c2e21d9a5c4bb5d55f7e62b77c141f39e651e /.github
parentedecc06fcfbedf23773cd8ba04f1eb6f5bd64358 (diff)
parent3678eff5dc13b301f7841d2079ba265bbe3fac2b (diff)
downloadnextpnr-ec98fee1eefd61d17ccfaf58bae72e1cc0f9e5e3.tar.gz
nextpnr-ec98fee1eefd61d17ccfaf58bae72e1cc0f9e5e3.tar.bz2
nextpnr-ec98fee1eefd61d17ccfaf58bae72e1cc0f9e5e3.zip
Merge pull request #646 from YosysHQ/gatecat/nexus-cmake
fpga_interchange: Add CMake support for Nexus/prjoxide
Diffstat (limited to '.github')
-rwxr-xr-x.github/ci/build_interchange.sh19
-rw-r--r--.github/workflows/interchange_ci.yml5
2 files changed, 17 insertions, 7 deletions
diff --git a/.github/ci/build_interchange.sh b/.github/ci/build_interchange.sh
index 1d2ee9dc..dc839e93 100755
--- a/.github/ci/build_interchange.sh
+++ b/.github/ci/build_interchange.sh
@@ -35,11 +35,20 @@ function get_dependencies {
python3 -m pip install -r requirements.txt
popd
- ## Install RapidWright
- git clone https://github.com/Xilinx/RapidWright.git ${RAPIDWRIGHT_PATH}
- pushd ${RAPIDWRIGHT_PATH}
- make update_jars
- popd
+ if [ ${DEVICE} == "LIFCL-17" ]; then
+ # Install prjoxide
+ curl --proto '=https' -sSf https://sh.rustup.rs | sh -s -- -y
+ git clone --recursive https://github.com/gatecat/prjoxide.git
+ pushd prjoxide/libprjoxide
+ PATH=$PATH:$HOME/.cargo/bin cargo install --path prjoxide --all-features
+ popd
+ else
+ # Install RapidWright
+ git clone https://github.com/Xilinx/RapidWright.git ${RAPIDWRIGHT_PATH}
+ pushd ${RAPIDWRIGHT_PATH}
+ make update_jars
+ popd
+ fi
}
function build_nextpnr {
diff --git a/.github/workflows/interchange_ci.yml b/.github/workflows/interchange_ci.yml
index 4639b261..7d99c966 100644
--- a/.github/workflows/interchange_ci.yml
+++ b/.github/workflows/interchange_ci.yml
@@ -67,7 +67,7 @@ jobs:
needs: [Build-yosys, Build-nextpnr]
strategy:
matrix:
- device: [xc7a35t, xc7a100t, xc7a200t, xc7z010]
+ device: [xc7a35t, xc7a100t, xc7a200t, xc7z010, LIFCL-17]
steps:
- uses: actions/checkout@v2
@@ -106,7 +106,8 @@ jobs:
RAPIDWRIGHT_PATH: ${{ github.workspace }}/RapidWright
INTERCHANGE_SCHEMA_PATH: ${{ github.workspace }}/3rdparty/fpga-interchange-schema/interchange
PYTHON_INTERCHANGE_PATH: ${{ github.workspace }}/python-fpga-interchange
- PYTHON_INTERCHANGE_TAG: v0.0.4
+ PYTHON_INTERCHANGE_TAG: v0.0.6
+ DEVICE: ${{ matrix.device }}
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
source ./.github/ci/build_interchange.sh