mirror of
https://github.com/apple/swift-certificates
synced 2026-11-22 04:20:39 +00:00
Add static SDK CI workflow (#234)
Add static SDK CI workflow which runs on commits to PRs, merges to main and daily on main. --------- Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
1 parent
d608282ae5
commit
1d394dbc80
3 files changed
+14
-1
No files matched your search
@@ -26,3 +26,8 @@ jobs:
|
||||
cxx-interop:
|
||||
name: Cxx interop
|
||||
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main
|
||||
|
||||
static-sdk:
|
||||
name: Static SDK
|
||||
# Workaround https://github.com/nektos/act/issues/1875
|
||||
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
|
||||
@@ -37,3 +37,8 @@ jobs:
|
||||
cxx-interop:
|
||||
name: Cxx interop
|
||||
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main
|
||||
|
||||
static-sdk:
|
||||
name: Static SDK
|
||||
# Workaround https://github.com/nektos/act/issues/1875
|
||||
uses: apple/swift-nio/.github/workflows/static_sdk.yml@main
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
#if canImport(FoundationEssentials)
|
||||
import FoundationEssentials
|
||||
import Glibc
|
||||
#else
|
||||
import Foundation
|
||||
#endif
|
||||
@@ -23,6 +22,10 @@ import SwiftASN1
|
||||
import WinSDK
|
||||
#elseif canImport(Android)
|
||||
import Android
|
||||
#elseif canImport(Glibc)
|
||||
import Glibc
|
||||
#elseif canImport(Musl)
|
||||
import Musl
|
||||
#endif
|
||||
|
||||
/// A ``VerifierPolicy`` that validates that the leaf certificate is authoritative
|
||||
|
||||
Reference in new issue
Block a user