diff options
author | gatecat <gatecat@ds0.me> | 2022-04-08 14:05:03 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2022-04-08 18:42:39 +0100 |
commit | 92a58a2631a30ac3f4c0291ecd1f2f01a912b9e9 (patch) | |
tree | af4d4919e27a49d01c1c8607c817d07644e22303 /.github/ci/build_nexus.sh | |
parent | 49f178ed94b5fad00d25dbd12adea0bf4732f803 (diff) | |
download | nextpnr-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_nexus.sh')
-rw-r--r-- | .github/ci/build_nexus.sh | 23 |
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 +} |