mirror of
https://github.com/TokTok/c-toxcore
synced 2026-06-06 22:02:34 +00:00
766e62bc89
The `pkg_use_module` was doing magic we used to use, but no longer need.
10 lines
392 B
Bash
Executable File
10 lines
392 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
read -a ci_env <<<"$(bash <(curl -s https://codecov.io/env))"
|
|
|
|
docker build -t toxchat/c-toxcore:sources -f other/docker/sources/Dockerfile .
|
|
docker build -t toxchat/c-toxcore:coverage -f other/docker/coverage/Dockerfile .
|
|
docker run "${ci_env[@]}" -e CI=true --name toxcore-coverage --rm -t toxchat/c-toxcore:coverage /usr/local/bin/codecov -x "llvm-cov gcov"
|