-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow-up cleanup of GitHub Actions migration (#104)
* Follow-up cleanup of GitHub Actions migration **Motivation:** Make use of more common GitHub Actions migration workflows and repository style changes. **Modifications:** * Unit tests workflows make use of the NIO `unit-tests` workflow with additional checks enabled * Introduce `main.yml` which runs workflows on each commit to `main` and periodically to catch any regressions in merges or from upstream. * Enable nightly CI runs as a signal for upcoming failures as is done in other Swift on Server ecosystem repositories. * Remove the docker files which are no longer used and contained outdated pipelines. * Bring the Samples up to Swift 5.9 and add a CI pipeline to ensure their continued ability to compile. **Result:** More in common with other GitHub Actions adoptions, compiling Samples. * add cxx interop workflows * enable API breakage checks
- Loading branch information
Showing
12 changed files
with
51 additions
and
264 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,25 @@ | ||
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 -Xswiftc -require-explicit-sendable" | ||
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" | ||
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" | ||
|
||
samples: | ||
name: Samples | ||
uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main | ||
with: | ||
name: "Samples" | ||
matrix_linux_command: "cd Samples/ && swift build --explicit-target-dependency-import-check error" |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.