Skip to content

Commit 80b457a

Browse files
committed
Set compiler on mac too
1 parent 9d35ffa commit 80b457a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pipelines/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ steps:
99

1010
- task: UsePythonVersion@0
1111
inputs:
12-
versionSpec: '3.12'
12+
versionSpec: '3.x'
1313
addToPath: true
14-
displayName: 'Use Python 3.12'
14+
displayName: 'Use latest Python 3.x'
1515

1616
- bash: |
1717
if [ "$(uname)" = "Linux" ]; then
@@ -22,8 +22,11 @@ steps:
2222
echo "##vso[task.setvariable variable=CC]gcc-10"
2323
echo "##vso[task.setvariable variable=CXX]g++-10"
2424
echo "Sysroot path set to: $SYSROOT_PATH"
25+
elif [ "$(uname)" = "Darwin" ]; then
26+
echo "##vso[task.setvariable variable=CC]clang"
27+
echo "##vso[task.setvariable variable=CXX]clang++"
2528
fi
26-
displayName: 'Install sysroot (Linux only)'
29+
displayName: 'Configure compiler'
2730

2831
- script: npm ci
2932
displayName: 'Install dependencies'

0 commit comments

Comments
 (0)