mirror of
https://github.com/TokTok/c-toxcore
synced 2026-06-06 15:32:22 +00:00
4f09f4e147
In exchange, moved some github actions to circleci.
15 lines
301 B
Bash
Executable File
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"
|