-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #377 from r-plus/ci/unit_test
run unit test in CI
- Loading branch information
Showing
9 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
XCODE_VERSION=$(xcodebuild -version | head -1 | cut -f2 -d" ") | ||
defaults write com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-${XCODE_VERSION} '{ allowed = { "net.JugglerShu.XVim2" = { version = 1; }; }; skipped = {}; }' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ ca ] | ||
|
||
default_ca = CA_default | ||
|
||
[ req ] | ||
|
||
distinguished_name = req_distinguished_name | ||
|
||
x509_extensions = v3_ca | ||
|
||
#req_extensions = v3_req | ||
|
||
[req_distinguished_name ] | ||
|
||
CN = XcodeSigner | ||
|
||
[ CA_default ] | ||
|
||
x509_extensions = usr_cert | ||
|
||
[ usr_cert ] | ||
|
||
[ v3_ca ] | ||
|
||
keyUsage = critical, digitalSignature | ||
|
||
extendedKeyUsage = critical, codeSigning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
openssl req -subj '/CN=XcodeSigner' -config ./Tools/cert.config -x509 -newkey rsa:2046 -keyout selfSignedKey.pem -out selfSigned.pem -days 365 -passout pass:"foobar" | ||
openssl pkcs12 -export -out XcodeSigner.p12 -inkey selfSignedKey.pem -in selfSigned.pem -passin pass:"foobar" -passout pass:"foobar" | ||
security import XcodeSigner.p12 -P foobar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters