|
19 | 19 | env:
|
20 | 20 | # Packaging prerequisites
|
21 | 21 | # Binutils 2.35.1 released Sep 19, 2020
|
22 |
| - binutilsVer: 2.35.1 |
| 22 | + binutilsVer: "2.35.1" |
23 | 23 | # Demumble 1.1.0 released Nov 13, 2018
|
24 |
| - demumbleVer: 1.1.0 |
| 24 | + demumbleVer: "1.1.0" |
25 | 25 | # Use SHA256 for hashing files.
|
26 |
| - hashCommand: sha256sum |
| 26 | + hashCommand: "sha256sum" |
| 27 | + # Xcode version 11.7 is the version we build the SDK with. |
| 28 | + # Our MacOS runners will use the version in /Applications/Xcode_${xcodeVersion}.app |
| 29 | + xcodeVersion: "11.7" |
27 | 30 |
|
28 | 31 | jobs:
|
29 | 32 | log_inputs:
|
|
64 | 67 | - os: macos-latest
|
65 | 68 | tools_platform: darwin
|
66 | 69 | steps:
|
| 70 | + - name: setup Xcode version (macos) |
| 71 | + if: runner.os == "macOS" |
| 72 | + run: sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer |
67 | 73 | - name: fetch and build binutils
|
68 | 74 | run: |
|
69 | 75 | set +e
|
@@ -247,6 +253,10 @@ jobs:
|
247 | 253 | build_type: "Debug"
|
248 | 254 |
|
249 | 255 | steps:
|
| 256 | + - name: setup Xcode version (macos) |
| 257 | + if: runner.os == "macOS" |
| 258 | + run: sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer |
| 259 | + |
250 | 260 | - uses: actions/checkout@v2
|
251 | 261 | with:
|
252 | 262 | submodules: true
|
@@ -367,6 +377,10 @@ jobs:
|
367 | 377 | - sdk_platform: darwin
|
368 | 378 | runs_on_platform: ubuntu-latest
|
369 | 379 | steps:
|
| 380 | + - name: setup Xcode version (macos) |
| 381 | + if: runner.os == "macOS" |
| 382 | + run: sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer |
| 383 | + |
370 | 384 | - name: fetch SDK
|
371 | 385 |
|
372 | 386 | with:
|
@@ -588,6 +602,10 @@ jobs:
|
588 | 602 | if: always()
|
589 | 603 | runs-on: ubuntu-latest
|
590 | 604 | steps:
|
| 605 | + - name: setup Xcode version (macos) |
| 606 | + if: runner.os == "macOS" |
| 607 | + run: sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer |
| 608 | + |
591 | 609 | - name: download SDK zip
|
592 | 610 | uses: actions/download-artifact@v2
|
593 | 611 | with:
|
|
0 commit comments