aboutsummaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-04-17 11:15:35 +0100
committerDavid Shah <dave@ds0.me>2019-04-17 13:02:01 +0100
commitc33da42365d36f740ed2b618235efcd4c93701f0 (patch)
tree4886bd02190191aedb82910c9e5f1fdcadf056f2 /generic
parent9fa13b5adcb4bfb193645fee0091c5c51c88c17b (diff)
downloadnextpnr-c33da42365d36f740ed2b618235efcd4c93701f0.tar.gz
nextpnr-c33da42365d36f740ed2b618235efcd4c93701f0.tar.bz2
nextpnr-c33da42365d36f740ed2b618235efcd4c93701f0.zip
ci: Run generic example simple.sh
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'generic')
-rwxr-xr-xgeneric/examples/simple.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/examples/simple.sh b/generic/examples/simple.sh
index 576a6418..8ae903f9 100755
--- a/generic/examples/simple.sh
+++ b/generic/examples/simple.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/usr/bin/env bash
set -ex
yosys -p "tcl ../synth/synth_generic.tcl 4 blinky.json" blinky.v
-../../nextpnr-generic --pre-pack simple.py --pre-place simple_timing.py --json blinky.json --post-route bitstream.py \ No newline at end of file
+${NEXTPNR:-../../nextpnr-generic} --pre-pack simple.py --pre-place simple_timing.py --json blinky.json --post-route bitstream.py