Merge pull request #650 from signalwire/newdronefix

[Tests] Fix build on new Drone
This commit is contained in:
Andrey Volk 2020-05-21 23:13:46 +04:00 committed by GitHub
commit 7a6c56d406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -14,13 +14,13 @@ steps:
- ./bootstrap.sh -j - ./bootstrap.sh -j
- echo "applications/mod_test" >> modules.conf - echo "applications/mod_test" >> modules.conf
- echo 'codecs/mod_openh264' >> modules.conf - echo 'codecs/mod_openh264' >> modules.conf
- sed -i '/applications\/mod_http_cache/s/^#//g' modules.conf - sed -i '/applications\\/mod_http_cache/s/^#//g' modules.conf
- sed -i '/event_handlers\/mod_rayo/s/^#//g' modules.conf - sed -i '/event_handlers\\/mod_rayo/s/^#//g' modules.conf
- sed -i '/formats\/mod_opusfile/s/^#//g' modules.conf - sed -i '/formats\\/mod_opusfile/s/^#//g' modules.conf
- sed -i '/languages\/mod_lua/s/^#//g' modules.conf - sed -i '/languages\\/mod_lua/s/^#//g' modules.conf
- export ASAN_OPTIONS=log_path=stdout:disable_coredump=0:unmap_shadow_on_exit=1; - export ASAN_OPTIONS=log_path=stdout:disable_coredump=0:unmap_shadow_on_exit=1;
- ./configure --enable-address-sanitizer - ./configure --enable-address-sanitizer
- echo "#!/bin/bash\nmake -j`nproc --all` |& tee ./unit-tests-build-result.txt\nexitstatus=\${PIPESTATUS[0]}\necho \$exitstatus > ./build-status.txt\nmake install\n" > build.sh - echo '#!/bin/bash\nmake -j`nproc --all` |& tee ./unit-tests-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./build-status.txt\nmake install\n' > build.sh
- chmod +x build.sh - chmod +x build.sh
- ./build.sh - ./build.sh
- cd tests/unit - cd tests/unit
@ -90,7 +90,7 @@ steps:
- sed -i '/mod_xml_rpc/s/^/#/g' modules.conf - sed -i '/mod_xml_rpc/s/^/#/g' modules.conf
- ./configure - ./configure
- mkdir -p scan-build - mkdir -p scan-build
- echo "#!/bin/bash\nscan-build-4.0 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=\${PIPESTATUS[0]}\necho \$exitstatus > ./scan-build-status.txt\n" > scan.sh - echo '#!/bin/bash\nscan-build-4.0 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./scan-build-status.txt\n' > scan.sh
- chmod +x scan.sh - chmod +x scan.sh
- ./scan.sh - ./scan.sh
- exitstatus=`cat ./scan-build-status.txt` - exitstatus=`cat ./scan-build-status.txt`
@ -119,6 +119,6 @@ trigger:
--- ---
kind: signature kind: signature
hmac: 4972b54c20a23506bbcbd29b9386784c7feb08993f26661c6fb495ed01681ea9 hmac: dcc23ab357643343e144d6371bc2accbc25dcf18c6554bce1d7dc5ba532e9b41
... ...