1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-02-15 04:16:41 +00:00
Files
YosysHQ.nextpnr/.github/ci/build_generic.sh
2025-02-25 15:28:46 +00:00

26 lines
465 B
Bash

#!/bin/bash
function get_dependencies {
:
}
function build_nextpnr {
mkdir build
pushd build
cmake .. -DARCH=generic -DWERROR=on
make nextpnr-generic -j`nproc`
popd
}
function run_tests {
export PATH=${GITHUB_WORKSPACE}/.yosys/bin:$PATH
( export NPNR=$(pwd)/build/nextpnr-generic && cd tests/generic/flow && ./run.sh )
}
function run_archcheck {
pushd build
# TODO
./nextpnr-generic --uarch example --test
popd
}