We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 022f818 commit a014323Copy full SHA for a014323
1 file changed
.github/workflows/macosx_build.yml
@@ -24,6 +24,20 @@ jobs:
24
with:
25
xcode-version: '14.3.1'
26
27
+ # Optional: pin the Xcode you want, if multiple are installed on the runner.
28
+ - name: Select Xcode 14.3.1
29
+ run: sudo xcode-select -s /Applications/Xcode_14.3.1.app/Contents/Developer
30
+
31
+ - name: Set SDKROOT and verify kernel headers
32
+ shell: bash
33
+ run: |
34
+ SDKROOT="$(xcrun --sdk macosx --show-sdk-path)"
35
+ echo "SDKROOT=$SDKROOT" >> "$GITHUB_ENV"
36
+ test -f "$SDKROOT/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h" || {
37
+ echo "Kernel IOLib.h not found under SDK: $SDKROOT" >&2
38
+ exit 1
39
+ }
40
41
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
42
43
submodules: recursive
0 commit comments