-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1fbb6ef
commit 22410a6
Showing
63 changed files
with
342 additions
and
656 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
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,26 @@ | ||
name: Main | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
unit-tests: | ||
name: Unit tests | ||
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main | ||
with: | ||
linux_5_9_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" | ||
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" | ||
linux_6_0_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" | ||
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error" | ||
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" | ||
|
||
benchmarks: | ||
name: Benchmarks | ||
uses: apple/swift-nio/.github/workflows/benchmarks.yml@main | ||
with: | ||
benchmark_package_path: "Benchmarks" | ||
|
||
cxx-interop: | ||
name: Cxx interop | ||
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main |
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,39 @@ | ||
name: PR | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
soundness: | ||
name: Soundness | ||
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main | ||
with: | ||
license_header_check_project_name: "SwiftCertificates" | ||
|
||
cmake-lists: | ||
name: Check cmake lists | ||
uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main | ||
with: | ||
name: "Check cmake lists" | ||
matrix_linux_command: ./scripts/check-cmake-lists.sh | ||
|
||
unit-tests: | ||
name: Unit tests | ||
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main | ||
with: | ||
linux_5_9_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" | ||
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" | ||
linux_6_0_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" | ||
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error" | ||
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" | ||
|
||
benchmarks: | ||
name: Benchmarks | ||
uses: apple/swift-nio/.github/workflows/benchmarks.yml@main | ||
with: | ||
benchmark_package_path: "Benchmarks" | ||
|
||
cxx-interop: | ||
name: Cxx interop | ||
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main |
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,18 @@ | ||
name: PR label | ||
|
||
on: | ||
pull_request: | ||
types: [labeled, unlabeled, opened, reopened, synchronize] | ||
|
||
jobs: | ||
semver-label-check: | ||
name: Semantic Version label check | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 1 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- name: Check for Semantic Version label | ||
uses: apple/swift-nio/.github/actions/pull_request_semver_label_checker@main |
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,26 @@ | ||
name: Scheduled | ||
|
||
on: | ||
schedule: | ||
- cron: "0 8,20 * * *" | ||
|
||
jobs: | ||
unit-tests: | ||
name: Unit tests | ||
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main | ||
with: | ||
linux_5_9_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" | ||
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" | ||
linux_6_0_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error" | ||
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error" | ||
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" | ||
|
||
benchmarks: | ||
name: Benchmarks | ||
uses: apple/swift-nio/.github/workflows/benchmarks.yml@main | ||
with: | ||
benchmark_package_path: "Benchmarks" | ||
|
||
cxx-interop: | ||
name: Cxx interop | ||
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main |
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,42 @@ | ||
.gitignore | ||
**/.gitignore | ||
.licenseignore | ||
.gitattributes | ||
.git-blame-ignore-revs | ||
.mailfilter | ||
.mailmap | ||
.spi.yml | ||
.swift-format | ||
.editorconfig | ||
.github/* | ||
*.md | ||
*.txt | ||
*.yml | ||
*.yaml | ||
*.json | ||
Package.swift | ||
**/Package.swift | ||
Package@-*.swift | ||
**/Package@-*.swift | ||
Package.resolved | ||
**/Package.resolved | ||
Makefile | ||
*.modulemap | ||
**/*.modulemap | ||
**/*.docc/* | ||
*.xcprivacy | ||
**/*.xcprivacy | ||
*.symlink | ||
**/*.symlink | ||
Dockerfile | ||
**/Dockerfile | ||
Snippets/* | ||
dev/git.commit.template | ||
dev/update-benchmark-thresholds | ||
*.crt | ||
**/*.crt | ||
*.pem | ||
**/*.pem | ||
*.der | ||
**/*.der | ||
Tests/X509Tests/CSR Vectors/cryptography/LICENSE.APACHE |
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
3 changes: 0 additions & 3 deletions
3
Benchmarks/Thresholds/5.8/CertificatesBenchmark.Parse_WebPKI_Roots_from_DER.p90.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
Benchmarks/Thresholds/5.8/CertificatesBenchmark.Parse_WebPKI_Roots_from_PEM_files.p90.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...arks/Thresholds/5.8/CertificatesBenchmark.Parse_WebPKI_Roots_from_multi_PEM_file.p90.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
Benchmarks/Thresholds/5.8/CertificatesBenchmark.TinyArray.append.p90.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
Benchmarks/Thresholds/5.8/CertificatesBenchmark.TinyArray_non-allocating_functions.p90.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
Benchmarks/Thresholds/5.8/CertificatesBenchmark.Verifier.p90.json
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
Benchmarks/Thresholds/6.0/CertificatesBenchmark.TinyArray.append.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 10000, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
Benchmarks/Thresholds/6.0/CertificatesBenchmark.Verifier.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 921000, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
2 changes: 1 addition & 1 deletion
2
...n/CertificatesBenchmark.Verifier.p90.json → ...mark.Parse_WebPKI_Roots_from_DER.p90.json
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
6 changes: 6 additions & 0 deletions
6
...s/Thresholds/nightly-6.0/CertificatesBenchmark.Parse_WebPKI_Roots_from_PEM_files.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 5810, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
6 changes: 6 additions & 0 deletions
6
...esholds/nightly-6.0/CertificatesBenchmark.Parse_WebPKI_Roots_from_multi_PEM_file.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 5818, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
6 changes: 6 additions & 0 deletions
6
Benchmarks/Thresholds/nightly-6.0/CertificatesBenchmark.TinyArray.append.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 10000, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
4 changes: 2 additions & 2 deletions
4
...icatesBenchmark.TinyArray.append.p90.json → ...nyArray_non-allocating_functions.p90.json
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"mallocCountTotal" : 26, | ||
"mallocCountTotal" : 16, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
Benchmarks/Thresholds/nightly-6.0/CertificatesBenchmark.Verifier.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 921000, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
6 changes: 6 additions & 0 deletions
6
...hmarks/Thresholds/nightly-main/CertificatesBenchmark.Parse_WebPKI_Roots_from_DER.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 4851, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
6 changes: 6 additions & 0 deletions
6
.../Thresholds/nightly-main/CertificatesBenchmark.Parse_WebPKI_Roots_from_PEM_files.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 5810, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
6 changes: 6 additions & 0 deletions
6
...sholds/nightly-main/CertificatesBenchmark.Parse_WebPKI_Roots_from_multi_PEM_file.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 5818, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
6 changes: 6 additions & 0 deletions
6
Benchmarks/Thresholds/nightly-main/CertificatesBenchmark.TinyArray.append.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 10000, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
6 changes: 6 additions & 0 deletions
6
...Thresholds/nightly-main/CertificatesBenchmark.TinyArray_non-allocating_functions.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 16, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
6 changes: 6 additions & 0 deletions
6
Benchmarks/Thresholds/nightly-main/CertificatesBenchmark.Verifier.p90.json
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,6 @@ | ||
{ | ||
"mallocCountTotal" : 921000, | ||
"memoryLeaked" : 0, | ||
"readSyscalls" : 0, | ||
"writeSyscalls" : 0 | ||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.