summaryrefslogtreecommitdiff
path: root/scripts/test.sh
blob: bc52a9797fffdc3c943fa416ab38b7999e943c3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
# MainAX25-Stack (MAX25-Stack) — offline tests via CMake targets.
set -euo pipefail

ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"

if [[ ! -d build ]]; then
  bash "${ROOT}/scripts/build.sh"
fi

cmake --build build --target max25_test
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com