aboutsummaryrefslogtreecommitdiffstats
path: root/.github
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
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')
-rwxr-xr-x.github/ci/build_interchange.sh13
-rw-r--r--.github/workflows/interchange_ci.yml2
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