Skip to content

Commit ae5ffdb

Browse files
committed
Alternative approach to installing development headers.
1 parent 34da1ef commit ae5ffdb

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

azure-pipelines-osx.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,16 @@ jobs:
1212
steps:
1313
- script: |
1414
# make sure development headers are installed
15-
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.15.pkg -target /
15+
xcode-select --install
16+
sleep 1
17+
osascript << EOD
18+
tell application "System Events"
19+
tell process "Install Command Line Developer Tools"
20+
keystroke return
21+
click button "Agree" of window "License Agreement"
22+
end tell
23+
end tell
24+
EOD
1625
./compile_sire.sh --install $HOME/sire.app
1726
displayName: 'Build Sire'
1827
- script: |

0 commit comments

Comments
 (0)