]> code.octet-stream.net Git - broadcaster/blob - buildscripts/test.sh
Bump to v1.2.0
[broadcaster] / buildscripts / test.sh
1 #!/bin/bash
2 set -euxo pipefail
3 cd "$(git rev-parse --show-toplevel)"
4 source buildscripts/init.sh "$1"
5
6 case $PLATFORM in
7 linux-x86_64|linux-armhf|linux-arm64)
8 cd server
9 go test
10
11 cd ../radio
12 go test
13 ;;
14 *)
15 echo "Skipping build on ${PLATFORM}"
16 exit 0
17 ;;
18 esac
19
20
21