diff options
Diffstat (limited to '.github')
-rwxr-xr-x | .github/ci/build_interchange.sh | 13 | ||||
-rw-r--r-- | .github/workflows/interchange_ci.yml | 2 |
2 files changed, 8 insertions, 7 deletions
diff --git a/.github/ci/build_interchange.sh b/.github/ci/build_interchange.sh index dedc01e2..56fd3d57 100755 --- a/.github/ci/build_interchange.sh +++ b/.github/ci/build_interchange.sh @@ -42,12 +42,13 @@ function get_dependencies { popd # 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 - + if [ ${DEVICE} == "LIFCL-17" ]; then + 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 + fi } function build_nextpnr { diff --git a/.github/workflows/interchange_ci.yml b/.github/workflows/interchange_ci.yml index 3cc3e1b5..7d99c966 100644 --- a/.github/workflows/interchange_ci.yml +++ b/.github/workflows/interchange_ci.yml @@ -107,7 +107,7 @@ jobs: INTERCHANGE_SCHEMA_PATH: ${{ github.workspace }}/3rdparty/fpga-interchange-schema/interchange PYTHON_INTERCHANGE_PATH: ${{ github.workspace }}/python-fpga-interchange 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 |