mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-25 01:01:58 -05:00
15 lines
396 B
YAML
15 lines
396 B
YAML
parameters:
|
|
version: 0
|
|
|
|
steps:
|
|
- script: |
|
|
echo "##vso[task.setvariable variable=CXX;]${CXX}"
|
|
echo "##vso[task.setvariable variable=CC;]${CC}"
|
|
if [ "${{ parameters.version }}" = "11" ]; then sudo apt-get install $CXX; fi
|
|
|
|
displayName: "Setup GCC Version"
|
|
failOnStderr: true
|
|
env:
|
|
CC: gcc-${{ parameters.version }}
|
|
CXX: g++-${{ parameters.version }}
|