Unverified Commit a525b20b authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8856 from mavlink/OSXCodeSign

OSX codesign
parents 7bc15f40 cae920f1
......@@ -186,10 +186,14 @@ before_script:
fi
# Install signing cert into OSX keychain
- if [[ "${SPEC}" = "macx-clang" && "${TRAVIS_PULL_REQUEST}" = "false" ]]; then
export CODESIGN=codesign &&
openssl aes-256-cbc -K $MAC_CERT_KEY -iv $MAC_CERT_IV -in deploy/MacCertificates.p12.enc -out deploy/MacCertificates.p12 -d &&
./deploy/MacImportCert.sh;
- if [[ "${SPEC}" = "macx-clang" ]]; then
export CODESIGN=codesign;
fi
- if [[ "${SPEC}" = "macx-clang" ]]; then
openssl aes-256-cbc -K $MAC_CERT_KEY -iv $MAC_CERT_IV -in deploy/MacCertificates.p12.enc -out deploy/MacCertificates.p12 -d;
fi
- if [[ "${SPEC}" = "macx-clang" ]]; then
source deploy/MacImportCert.sh;
fi
script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment