aboutsummaryrefslogtreecommitdiffstats
path: root/.github/ci/build_nexus.sh
blob: e8acd9b6d7bcb09e82fd5e785fd5b54ffaa06a21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}