Files
c-toxcore/other/docker/circleci/run
T
iphydf 4f09f4e147 chore: Fix tsan build by moving it to GitHub CI.
In exchange, moved some github actions to circleci.
2024-12-11 13:12:58 +00:00

15 lines
301 B
Bash
Executable File

#!/bin/sh
set -eux
SANITIZER="${1:-asan}"
if [ -t 0 ]; then
TTY=true
else
TTY=false
fi
docker build -t toxchat/c-toxcore:circleci other/docker/circleci
docker run --name toxcore-circleci --rm --interactive="$TTY" --tty="$TTY" --volume "$PWD:/c-toxcore" toxchat/c-toxcore:circleci "$SANITIZER"