aboutsummaryrefslogtreecommitdiffstats
path: root/.github/ci/build_interchange.sh
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-30 16:33:50 +0100
committergatecat <gatecat@ds0.me>2021-03-30 16:55:03 +0100
commit9259763599badeb7352b3179e7019582274a1b4b (patch)
tree0e925ac35cfe20d1224bcfa17fb6f2e20770a324 /.github/ci/build_interchange.sh
parenta003aae7c294cd3d32e26f1998deee550d7c1203 (diff)
downloadnextpnr-9259763599badeb7352b3179e7019582274a1b4b.tar.gz
nextpnr-9259763599badeb7352b3179e7019582274a1b4b.tar.bz2
nextpnr-9259763599badeb7352b3179e7019582274a1b4b.zip
ci: Build prjoxide only for LIFCL
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to '.github/ci/build_interchange.sh')
-rwxr-xr-x.github/ci/build_interchange.sh13
1 files changed, 7 insertions, 6 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 {