Home
last modified time | relevance | path

Searched +full:ninja +full:- +full:build (Results 1 – 25 of 25) sorted by relevance

/openthread-latest/.github/workflows/
Dbuild.yml29 name: Build
33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
49 runs-on: ubuntu-24.04
51 - name: Harden Runner
52 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
54 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
[all …]
Dtoranj.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 toranj-ncp:
49 name: toranj-ncp-${{ matrix.TORANJ_RADIO }}
50 runs-on: ubuntu-22.04
52 fail-fast: false
61 - name: Harden Runner
[all …]
Dunit.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
43 permissions: # added using https://github.com/step-security/secure-workflows
48 tcplp-buffering:
49 runs-on: ubuntu-24.04
51 - name: Harden Runner
52 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
[all …]
Dsimulation-1.1.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 packet-verification:
49 runs-on: ubuntu-24.04
57 - name: Harden Runner
58 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
60 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
[all …]
Dposix.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 expects-linux:
49 runs-on: ubuntu-22.04
51 CFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
52 CXXFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
54 - name: Harden Runner
[all …]
Dsimulation-1.4.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
43 permissions: # added using https://github.com/step-security/secure-workflows
48 thread-1-4:
49 name: thread-1-4-${{ matrix.compiler.c }}-${{ matrix.arch }}
50 runs-on: ubuntu-22.04
52 CFLAGS: -${{ matrix.arch }}
[all …]
Dotns.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
51 permissions: # added using https://github.com/step-security/secure-workflows
58 runs-on: ubuntu-24.04
60 - name: Harden Runner
61 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
63 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
[all …]
Dotbr.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 backbone-router:
49 runs-on: ubuntu-22.04
65 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
68 - name: Build OTBR Docker
73 - name: Bootstrap
[all …]
Dotci.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
43 permissions: # added using https://github.com/step-security/secure-workflows
48 cli-sim:
49 name: cli-sim VIRTUAL_TIME=${{ matrix.virtual_time }}
50 runs-on: ubuntu-24.04
52 fail-fast: false
[all …]
Dcodeql.yml37 permissions: # added using https://github.com/step-security/secure-workflows
43 runs-on: ubuntu-latest
47 security-events: write
50 fail-fast: false
53 # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
56 - name: Harden Runner
57 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
59 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
61 - name: Checkout repository
64 - name: Bootstrap
[all …]
/openthread-latest/script/
Dcmake-build31 # This script calls cmake and ninja to compile OpenThread for the given platform.
33 # Compile with default build options:
35 # script/cmake-build ${platform}
37 # Compile with the specified build option enabled:
39 # script/cmake-build ${platform} -D${option}=ON
41 # Compile with the specified build option disabled that already enabled by default:
43 # script/cmake-build ${platform} -D${option}=OFF
45 # Compile with the specified ninja build target:
47 # OT_CMAKE_NINJA_TARGET="ot-cli-ftd" script/cmake-build ${platform}
48 # OT_CMAKE_NINJA_TARGET="ot-cli-ftd ot-cli-mtd" script/cmake-build ${platform}
[all …]
Dcheck-simulation-build-cmake30 set -euxo pipefail
35 OT_BUILDDIR="$(pwd)/build"
40 rm -rf "$OT_BUILDDIR"
46 "-DOPENTHREAD_CONFIG_ANNOUNCE_SENDER_ENABLE=1"
47 "-DOPENTHREAD_CONFIG_ANYCAST_LOCATOR=1"
48 "-DOPENTHREAD_CONFIG_BORDER_AGENT_ENABLE=1"
49 "-DOPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE=1"
50 "-DOPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE=1"
51 "-DOPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE=1"
52 "-DOPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE=1"
[all …]
Dcheck-gn-build34 set -e
35 set -x
39 # Check GN build for OT1.1
40 rm gn-out -r || true
41 gn gen --check gn-out
42 gn args gn-out --list
43 ninja -C gn-out
44 test -f gn-out/obj/src/core/libopenthread-ftd.a
46 # Check GN build for OT1.4
47 rm gn-out -r || true
[all …]
Dcheck-scan-build30 set -euxo pipefail
36 "-DBUILD_TESTING=OFF"
37 "-DOT_ANYCAST_LOCATOR=ON"
38 "-DOT_BUILD_EXECUTABLES=OFF"
39 "-DOT_BORDER_AGENT=ON"
40 "-DOT_BORDER_ROUTER=ON"
41 "-DOT_BORDER_ROUTING=ON"
42 "-DOT_COAP=ON"
43 "-DOT_COAP_BLOCK=ON"
44 "-DOT_COAP_OBSERVE=ON"
[all …]
Dbootstrap34 set -euxo pipefail
40 # add clang-format and clang-tidy for pretty
41 …sudo apt-get --no-install-recommends install -y clang-format-14 clang-tidy-14 || echo 'WARNING: co…
44 …python3 -m pip install yapf==0.31.0 || echo 'WARNING: could not install yapf, which is useful if y…
47 …python3 -m pip install mdv || echo 'WARNING: could not install mdv, which is required to post mark…
50 …command -v shfmt || sudo apt-get install shfmt || echo 'WARNING: could not install shfmt, which is…
57 # apt-get update and install dependencies
58 sudo apt-get update
59 sudo apt-get --no-install-recommends install -y g++ lsb-release cmake ninja-build shellcheck
63 PLATFORM=$(lsb_release -is)
[all …]
Dcheck-size30 set -euo pipefail
32 OT_TMP_DIR=/tmp/ot-size-report
35 OT_SHA_NEW=${GITHUB_SHA:-$(git rev-parse HEAD)}
38 OT_SHA_OLD="$(git cat-file -p "${OT_SHA_NEW}" | grep 'parent ' | head -n1 | cut -d' ' -f2)"
47 OT_REPORTER="${OT_SIZE_REPORTER-}"
52 if arm-none-eabi-gcc --version | grep -q 'Arm Embedded Processors 7'; then
57 …wget --tries 4 --no-check-certificate --quiet https://developer.arm.com/-/media/Files/downloads/gn…
58 && tar xjf gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2)
59 export PATH=/tmp/gcc-arm-none-eabi-7-2018-q2-update/bin:$PATH
61 arm-none-eabi-gcc --version
[all …]
Dtest33 set -euo pipefail
35 OT_BUILDDIR="${OT_BUILDDIR:-${PWD}/build}"
53 OT_NODE_TYPE="${OT_NODE_TYPE:-cli}"
56 OT_NATIVE_IP="${OT_NATIVE_IP:-0}"
59 THREAD_VERSION="${THREAD_VERSION:-1.4}"
62 INTER_OP="${INTER_OP:-0}"
65 VERBOSE="${VERBOSE:-0}"
68 BORDER_ROUTING="${BORDER_ROUTING:-1}"
71 NAT64="${NAT64:-0}"
74 NAT64_SERVICE="${NAT64_SERVICE:-openthread}"
[all …]
/openthread-latest/tests/unit/
DREADME.md3 This page describes how to build and run OpenThread unit tests. It will be helpful for developers t…
5 ## Build Simulation
7 …thout building the whole project. So first build OpenThread on the simulation platform, which will…
11 $ script/cmake-build simulation
19 # Make sure you are at the simulation build directory (build/simulation)
20 $ ctest -N
28 # Make sure you are at the simulation build directory (build/simulation)
32 To run a specific unit test, for example, `ot-test-spinel`:
35 # Make sure you are at the simulation build directory (build/simulation)
36 $ ctest -R ot-test-spinel
[all …]
/openthread-latest/etc/docker/environment/
DDockerfile1 # Ubuntu image with tools required to build OpenThread
5 ENV LANG en_US.UTF-8
7 RUN set -x \
8 && apt-get update -y \
9 && apt-get install -y locales \
10 && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
11 && apt-get --no-install-recommends install -fy \
14 ninja-build \
16 python3-pip \
17 python3-setuptools \
[all …]
/openthread-latest/tests/toranj/
Dbuild.sh33 echo "Toranj Build script "
37 echo " all : Build OpenThread NCP, CLI, and RCP with simulation platform"
38 echo " ncp : Build OpenThread NCP mode with simulation platform"
39 echo " ncp-15.4 : Build OpenThread NCP mode with simulation platform - 15.4 radio"
40 … echo " ncp-trel : Build OpenThread NCP mode with simulation platform - TREL radio "
41 …echo " ncp-15.4+trel : Build OpenThread NCP mode with simulation platform - multi radio (…
42 echo " cli : Build OpenThread CLI mode with simulation platform"
43 echo " cli-15.4 : Build OpenThread CLI mode with simulation platform - 15.4 radio"
44 … echo " cli-trel : Build OpenThread CLI mode with simulation platform - TREL radio "
45 …echo " cli-15.4+trel : Build OpenThread CLI mode with simulation platform - multi radio (…
[all …]
/openthread-latest/tools/harness-simulation/posix/etc/
DDockerfile44 ENV INFRA_IF_NAME=${INFRA_IF_NAME:-eth0}
45 ENV BORDER_ROUTING=${BORDER_ROUTING:-1}
46 ENV BACKBONE_ROUTER=${BACKBONE_ROUTER:-1}
47 ENV OTBR_MDNS=${MDNS:-mDNSResponder}
49 ENV EXTERNAL_COMMISSIONER=${EXTERNAL_COMMISSIONER:-1}
52 ENV REFERENCE_DEVICE=${REFERENCE_DEVICE:-0}
53 ENV NAT64=${NAT64:-1}
54 ENV NAT64_SERVICE=${NAT64_SERVICE:-tayga}
55 ENV DNS64=${DNS64:-0}
56 ENV WEB_GUI=${WEB_GUI:-1}
[all …]
/openthread-latest/examples/platforms/simulation/
DREADME.md5 ## Build Examples
8 $ cd <path-to-openthread>
9 $ mkdir build && cd build
10 $ cmake -GNinja -DOT_PLATFORM=simulation ..
11 $ ninja
14 After a successful build, the `elf` files are found in:
16 - `<path-to-openthread>/build/examples/apps/cli`
17 - `<path-to-openthread>/build/examples/apps/ncp`
24 $ cd <path-to-openthread>/build/simulation/examples/apps/cli
25 $ ./ot-cli-ftd 1
/openthread-latest/third_party/build_gn/
DREADME.md5 https://gn.googlesource.com/gn/+/refs/heads/master/examples/simple_build/build
9 BSD 3-Clause
17 gn is metabuild system that generates ninja files for further compilation
20 example compiler, linker etc. The toolchains in toolchain/BUILD.gn are from the
22 examples/simple_build/build/
/openthread-latest/
D.gitignore9 *.ninja*
22 build
32 ot-cli-ftd
33 ot-cli-mtd
34 ot-cli-radio
35 ot-ncp-ftd
36 ot-ncp-mtd
37 ot-rcp
42 cmake-build-*/**
50 ot-test-*
[all …]
/openthread-latest/tests/fuzz/
Doss-fuzz-build30 set -euxo pipefail
33 mkdir build
34 cd build || exit
36 cmake -GNinja \
37 -DCMAKE_C_FLAGS="${CFLAGS}" \
38 -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
39 -DBUILD_TESTING=OFF \
40 -DOT_BUILD_EXECUTABLES=OFF \
41 -DOT_FUZZ_TARGETS=ON \
42 -DOT_MTD=OFF \
[all …]