diff options
Diffstat (limited to '.github')
-rwxr-xr-x | .github/ci/build_interchange.sh | 19 | ||||
-rw-r--r-- | .github/workflows/interchange_ci.yml | 5 |
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 |