Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
0986fe1aff
commit
69f52816aa
|
@ -10,18 +10,24 @@ pool:
|
|||
vmImage: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- script: sudo apt-get update -qq
|
||||
- script: sudo apt-get build-dep -qq cppcheck
|
||||
- bash: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get build-dep -qq cppcheck
|
||||
continueOnError: true
|
||||
displayName: 'Installing deps'
|
||||
- bash: |
|
||||
git clone --depth=10 https://github.com/noisymime/speeduino /noisymime/speeduino
|
||||
git clone --depth=10 https://github.com/noisymime/cppcheck.git noisymime/cppcheck_github
|
||||
displayName: 'Cloning repos'
|
||||
- script: git clone --depth=10 https://github.com/noisymime/speeduino /noisymime/speeduino
|
||||
- script: git clone --depth=10 https://github.com/noisymime/cppcheck.git noisymime/cppcheck_github
|
||||
- bash: |
|
||||
cd noisymime/cppcheck_github
|
||||
make
|
||||
cd ../
|
||||
displayName: 'Building cppcheck'
|
||||
- script: cd noisymime/cppcheck_github
|
||||
- script: make
|
||||
- script: cd ../
|
||||
- bash: |
|
||||
chmod +x speeduino/misra/check_misra_github.sh
|
||||
speeduino/misra/check_misra_github.sh
|
||||
displayName: 'Running Scan'
|
||||
- script: chmod +x speeduino/misra/check_misra_github.sh
|
||||
- script: speeduino/misra/check_misra_github.sh
|
||||
|
||||
# Publish test results to Azure Pipelines
|
||||
- task: PublishTestResults@2
|
||||
|
|
Loading…
Reference in New Issue