mirror of
https://github.com/apple/swift-crypto
synced 2026-11-24 04:37:48 +00:00
Motivation: * Improve test coverage Modifications: Enable macOS CI to be run on pull request commits and make the use of the nightly runner pool for main.yml jobs explicit. Result: Improved test coverage.
30 lines
933 B
YAML
30 lines
933 B
YAML
name: Main
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
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: "--explicit-target-dependency-import-check error"
|
|
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
|
|
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
|
|
linux_nightly_next_arguments_override: "--explicit-target-dependency-import-check error"
|
|
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
|
|
|
|
cxx-interop:
|
|
name: Cxx interop
|
|
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main
|
|
|
|
macos-tests:
|
|
name: macOS tests
|
|
uses: apple/swift-nio/.github/workflows/macos_tests.yml@main
|
|
with:
|
|
runner_pool: nightly
|
|
build_scheme: swift-crypto-Package
|