aboutsummaryrefslogtreecommitdiffstats
path: root/.github/ci/build_machxo2.sh
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-04-08 14:05:03 +0100
committergatecat <gatecat@ds0.me>2022-04-08 18:42:39 +0100
commit92a58a2631a30ac3f4c0291ecd1f2f01a912b9e9 (patch)
treeaf4d4919e27a49d01c1c8607c817d07644e22303 /.github/ci/build_machxo2.sh
parent49f178ed94b5fad00d25dbd12adea0bf4732f803 (diff)
downloadnextpnr-92a58a2631a30ac3f4c0291ecd1f2f01a912b9e9.tar.gz
nextpnr-92a58a2631a30ac3f4c0291ecd1f2f01a912b9e9.tar.bz2
nextpnr-92a58a2631a30ac3f4c0291ecd1f2f01a912b9e9.zip
ci: Restructure and move entirely to GH actions from Cirrus
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to '.github/ci/build_machxo2.sh')
-rw-r--r--.github/ci/build_machxo2.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/ci/build_machxo2.sh b/.github/ci/build_machxo2.sh
new file mode 100644
index 00000000..c81a538b
--- /dev/null
+++ b/.github/ci/build_machxo2.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+function get_dependencies {
+ :
+}
+
+function build_nextpnr {
+ mkdir build
+ pushd build
+ cmake .. -DARCH=machxo2 -DTRELLIS_INSTALL_PREFIX=${GITHUB_WORKSPACE}/.trellis -DWERROR=on -DUSE_IPO=off
+ make nextpnr-machxo2 -j`nproc`
+ popd
+}
+
+function run_tests {
+ :
+}
+
+function run_archcheck {
+ :
+}