Migrate to GitHub Actions #7
Workflow file for this run
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
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: "swift-kafka-client" | |
api_breakage_check_enabled: false # requires libsasl2-dev | |
yamllint_check_enabled: false # failures in librdkafka, need .yamlignore support | |
python_lint_check_enabled: false # requires librdkafka, need --exclude support | |
unit-tests: | |
name: Unit tests | |
uses: ./.github/workflows/unit_tests.yml | |
with: | |
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -strict-concurrency=complete" | |
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -strict-concurrency=complete" | |
linux_6_0_arguments_override: "--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" | |
cxx-interop: | |
name: Cxx interop | |
uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main | |
with: | |
name: "Cxx interop" | |
matrix_linux_command: "apt-get update -y -q && apt-get install -y -q jq && apt-get -y install libsasl2-dev && curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/check-cxx-interop-compatibility.sh | bash" | |
matrix_linux_5_9_enabled: true | |
matrix_linux_5_10_enabled: true | |
matrix_linux_6_0_enabled: true | |
matrix_linux_nightly_6_0_enabled: true | |
matrix_linux_nightly_main_enabled: true | |
matrix_windows_6_0_enabled: false | |
matrix_windows_nightly_6_0_enabled: false | |
matrix_windows_nightly_main_enabled: false |