mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
This PR makes it possible to enable benchmarks and cxx interop checks on Windows. By default they are turned off. This PR also fixes the job of the Windows 6 pipeline which was broken since single configuration matrix jobs seem to behave differently.
56 lines
2.4 KiB
YAML
56 lines
2.4 KiB
YAML
name: Cxx interop
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
linux_5_9_enabled:
|
|
type: boolean
|
|
description: "Boolean to enable the Linux 5.9 Swift version matrix job. Defaults to true."
|
|
default: true
|
|
linux_5_10_enabled:
|
|
type: boolean
|
|
description: "Boolean to enable the Linux 5.10 Swift version matrix job. Defaults to true."
|
|
default: true
|
|
linux_6_0_enabled:
|
|
type: boolean
|
|
description: "Boolean to enable the Linux 6.0 Swift version matrix job. Defaults to true."
|
|
default: true
|
|
linux_nightly_6_0_enabled:
|
|
type: boolean
|
|
description: "Boolean to enable the Linux nightly 6.0 Swift version matrix job. Defaults to true."
|
|
default: true
|
|
linux_nightly_main_enabled:
|
|
type: boolean
|
|
description: "Boolean to enable the Linux nightly main Swift version matrix job. Defaults to true."
|
|
default: true
|
|
|
|
windows_6_0_enabled:
|
|
type: boolean
|
|
description: "Boolean to enable the Windows 6.0 Swift version matrix job. Defaults to true."
|
|
default: false
|
|
windows_nightly_6_0_enabled:
|
|
type: boolean
|
|
description: "Boolean to enable the Windows nightly 6.0 Swift version matrix job. Defaults to true."
|
|
default: false
|
|
windows_nightly_main_enabled:
|
|
type: boolean
|
|
description: "Boolean to enable the Windows nightly main Swift version matrix job. Defaults to true."
|
|
default: false
|
|
|
|
jobs:
|
|
cxx-interop:
|
|
name: Cxx interop
|
|
# Workaround https://github.com/nektos/act/issues/1875
|
|
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 && curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/check-cxx-interop-compatibility.sh | bash"
|
|
matrix_linux_5_9_enabled: ${{ inputs.linux_5_9_enabled }}
|
|
matrix_linux_5_10_enabled: ${{ inputs.linux_5_10_enabled }}
|
|
matrix_linux_6_0_enabled: ${{ inputs.linux_6_0_enabled }}
|
|
matrix_linux_nightly_6_0_enabled: ${{ inputs.linux_nightly_6_0_enabled }}
|
|
matrix_linux_nightly_main_enabled: ${{ inputs.linux_nightly_main_enabled }}
|
|
matrix_windows_6_0_enabled: ${{ inputs.windows_6_0_enabled }}
|
|
matrix_windows_nightly_6_0_enabled: ${{ inputs.windows_nightly_6_0_enabled }}
|
|
matrix_windows_nightly_main_enabled: ${{ inputs.windows_nightly_main_enabled }}
|