@@ -217,42 +217,8 @@ jobs:
217217 run : xcrun swift --version
218218 - name : Clang version
219219 run : xcrun clang --version
220- - name : Pre-build
221- run : ${{ inputs.macos_pre_build_command }}
222- - name : Build / Test
223- run : ${{ inputs.macos_build_command }} ${{ (contains(matrix.swift_version, 'nightly') && inputs.swift_nightly_flags) || inputs.swift_flags }}
224- timeout-minutes : 60
225-
226- macos-build-2 :
227- name : FAUX iOS (Build Only, Xcode ${{ matrix.xcode_version }} - ${{ matrix.os_version }} - ${{ matrix.arch }})
228- if : ${{ inputs.enable_macos_checks }}
229- runs-on : [self-hosted, macos, "${{ matrix.os_version }}", "${{ matrix.arch }}"]
230- strategy :
231- fail-fast : false
232- matrix :
233- xcode_version : ${{ fromJson(inputs.macos_xcode_versions) }}
234- os_version : ${{ fromJson(inputs.macos_versions) }}
235- arch : ${{ fromJson(inputs.macos_archs) }}
236- exclude :
237- - ${{ fromJson(inputs.macos_exclude_xcode_versions) }}
238- steps :
239- - name : Checkout repository
240- uses : actions/checkout@v4
241- - name : Provide token
242- if : ${{ inputs.needs_token }}
243- run : |
244- echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
245- - name : Set environment variables
246- if : ${{ inputs.macos_env_vars }}
247- run : |
248- for i in "${{ inputs.macos_env_vars }}"
249- do
250- printf "%s\n" $i >> $GITHUB_ENV
251- done
252- - name : Select Xcode
253- run : echo "DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode_version }}.app" >> $GITHUB_ENV
254- - name : Swift version
255- run : xcrun swift --version
220+ - name : Echo inputs.ios_host_xcode_versions
221+ run : echo "${{ inputs.ios_host_xcode_versions }}"
256222 - name : Pre-build
257223 run : ${{ inputs.macos_pre_build_command }}
258224 - name : Build / Test
@@ -266,11 +232,11 @@ jobs:
266232 strategy :
267233 fail-fast : false
268234 matrix :
269- xcode_version : ${{ fromJson(inputs.macos_xcode_versions ) }}
270- os_version : ${{ fromJson(inputs.macos_versions ) }}
271- arch : ${{ fromJson(inputs.macos_archs ) }}
235+ xcode_version : ${{ fromJson(inputs.ios_host_xcode_versions ) }}
236+ os_version : ${{ fromJson(inputs.ios_host_versions ) }}
237+ arch : ${{ fromJson(inputs.ios_host_archs ) }}
272238 exclude :
273- - ${{ fromJson(inputs.macos_exclude_xcode_versions ) }}
239+ - ${{ fromJson(inputs.ios_host_exclude_xcode_versions ) }}
274240 steps :
275241 - name : Checkout repository
276242 uses : actions/checkout@v4
0 commit comments