aboutsummaryrefslogtreecommitdiffstats
path: root/.github/ci/build_nexus.sh
diff options
context:
space:
mode:
Diffstat (limited to '.github/ci/build_nexus.sh')
-rw-r--r--.github/ci/build_nexus.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/ci/build_nexus.sh b/.github/ci/build_nexus.sh
new file mode 100644
index 00000000..e8acd9b6
--- /dev/null
+++ b/.github/ci/build_nexus.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+function get_dependencies {
+ :
+}
+
+function build_nextpnr {
+ mkdir build
+ pushd build
+ cmake .. -DARCH=nexus -DOXIDE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/.prjoxide
+ make nextpnr-nexus -j`nproc`
+ popd
+}
+
+function run_tests {
+ :
+}
+
+function run_archcheck {
+ pushd build
+ ./nextpnr-nexus --device LIFCL-40-9BG400CES --test
+ popd
+}