Skip to content

Commit

Permalink
remove static build from travis
Browse files Browse the repository at this point in the history
  • Loading branch information
niyatim23 committed Feb 15, 2022
1 parent 3bd8ead commit 84cd025
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,6 @@ matrix:
- env: allowTestFail=true

include:

# Static Build
- name: "Static Build"
before_install:
# TODO: Remove the following 2 lines. This is only a workaround for enabling IPv6, https://github.com/travis-ci/travis-ci/issues/8891.
- echo '{"ipv6":true,"fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
- sudo service docker restart
- mkdir build
- docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -w /src/build -dit --security-opt=seccomp=.github/default.json --name alpine -v $(pwd):/src alpine:latest
- alpine() { docker exec -it alpine "$@"; }
install:
- alpine apk update
- alpine apk upgrade
- alpine apk add alpine-sdk cmake clang linux-headers perl bash openssl-dev
script:
- alpine cmake .. -DBUILD_STATIC_LIBS=TRUE -DBUILD_TEST=TRUE
- alpine make
# ldd will return non-zero when there's no dynamic link. So, the positive value for static builds is non-zero
- alpine ../scripts/check-static-build.sh || travis_terminate 1
- alpine ./tst/webrtc_client_test
after_failure: skip # no coredumps in container

# MemorySanitizer
- name: "Linux Clang MemorySanitizer"
Expand Down

0 comments on commit 84cd025

Please sign in to comment.