Skip to content

Commit

Permalink
Trim trailing whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
  • Loading branch information
keithc-ca committed Aug 10, 2021
1 parent ac3ab48 commit 2d4ba07
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions azure-pipelines.yml
Expand Up @@ -2,7 +2,7 @@ trigger:
- master
pr:
- master

jobs:
- job:
displayName: 'x86-64 Windows'
Expand All @@ -12,30 +12,30 @@ jobs:
- script: |
mkdir build
displayName: 'Create build directory'
- script: |
set PATH=C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64;%PATH%
cmake .. -G "Visual Studio 15 2017 Win64" -C../cmake/caches/Windows.cmake .. -DOMR_DDR=0 -DOMR_TEST_COMPILER=ON -DOMR_JITBUILDER_TEST=ON
displayName: 'Configure'
workingDirectory: 'build'
- script: |
cmake --build . -- -maxCpuCount
displayName: 'Build'
workingDirectory: 'build'
- script: |
ctest -V -C Debug
displayName: "Test"
workingDirectory: 'build'
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/*results.xml'
displayName: 'Publish results'

- job:
displayName: 'x86-64 Linux'
pool:
Expand All @@ -46,54 +46,54 @@ jobs:
- script: |
sudo apt-get install -y ccache libelf-dev libdwarf-dev
displayName: 'Install prerequisites'
- script: |
PARALLELISM=$(grep -c '^processor' /proc/cpuinfo)
echo "Number of parallel jobs: $PARALLELISM"
echo "##vso[task.setvariable variable=NUMBER_OF_PROCESSORS]$PARALLELISM"
echo "##vso[task.prependpath]/usr/lib/ccache"
displayName: 'Initialize environment'
- script: |
mkdir build
displayName: 'Create build directory'
- task: Cache@2
inputs:
key: 'ccache | "$(Agent.OS)" | azure-pipelines.cache'
path: $(CCACHE_DIR)
displayName: 'Save/Restore ccache'

- script: |
ccache -s -z
displayName: 'Print cache stats'
- script: |
cmake -C ../cmake/caches/Travis.cmake ..
displayName: 'Configure'
workingDirectory: 'build'
- script: |
make -j$NUMBER_OF_PROCESSORS
displayName: 'Build'
workingDirectory: 'build'
- script: |
ccache -s -z
displayName: 'Print cache stats'
- script: |
ctest -V -j$NUMBER_OF_PROCESSORS
displayName: "Test"
workingDirectory: 'build'
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/*results.xml'
displayName: 'Publish results'

- job:
displayName: 'x86-64 macOS'
pool:
Expand All @@ -104,57 +104,57 @@ jobs:
- script: |
brew install ccache
displayName: 'Install prerequisites'
- script: |
sudo sysctl -w kern.maxproc=25000
sudo sysctl -w kern.maxprocperuid=25000
PARALLELISM=$(sysctl -a | grep machdep.cpu.core_count | cut -d ' ' -f 2)
echo "Number of parallel jobs: $PARALLELISM"
echo "##vso[task.setvariable variable=NUMBER_OF_PROCESSORS]$PARALLELISM"
echo "##vso[task.prependpath]/usr/local/opt/ccache/libexec"
displayName: 'Initialize environment'
- script: |
mkdir build
displayName: 'Create build directory'
- task: Cache@2
inputs:
key: 'ccache | "$(Agent.OS)" | azure-pipelines.cache'
path: $(CCACHE_DIR)
displayName: 'Save/Restore ccache'

- script: |
ccache -s -z
displayName: 'Print cache stats'
- script: |
cmake -C ../cmake/caches/Travis.cmake ..
displayName: 'Configure'
workingDirectory: 'build'
- script: |
make -j$NUMBER_OF_PROCESSORS
displayName: 'Build'
workingDirectory: 'build'
- script: |
ccache -s -z
displayName: 'Print cache stats'
- script: |
ctest -V -j$NUMBER_OF_PROCESSORS
displayName: "Test"
workingDirectory: 'build'
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '**/*results.xml'
displayName: 'Publish results'

- job:
displayName: 'Linter'
pool:
Expand All @@ -171,50 +171,50 @@ jobs:
- script: |
sudo apt-get install -y ccache clang-3.8 libclang-3.8-dev llvm-3.8 llvm-3.8-dev
displayName: 'Install prerequisites'
- script: |
PARALLELISM=$(grep -c '^processor' /proc/cpuinfo)
echo "Number of parallel jobs: $PARALLELISM"
echo "##vso[task.setvariable variable=NUMBER_OF_PROCESSORS]$PARALLELISM"
echo "##vso[task.prependpath]/usr/lib/ccache"
displayName: 'Initialize environment'
- task: Cache@2
inputs:
key: 'ccache | "$(Agent.OS)" | azure-pipelines.cache'
path: $(CCACHE_DIR)
displayName: 'Save/Restore ccache'

- script: |
ccache -s -z
displayName: 'Print cache stats'
- script: |
make -f run_configure.mk OMRGLUE=./example/glue RUN_LINT=yes RUN_BUILD=no HAS_AUTOCONF=1 all
displayName: 'Configure'
- script: |
make -j$NUMBER_OF_PROCESSORS lint
displayName: 'Run linter for x86'
env:
TARGET_ARCH: x
TARGET_SUBARCH: amd64
TARGET_BITS: 64
- script: |
make -j$NUMBER_OF_PROCESSORS lint
displayName: 'Run linter for Power'
env:
TARGET_ARCH: p
TARGET_BITS: 64
- script: |
make -j$NUMBER_OF_PROCESSORS lint
displayName: 'Run linter for z/Architecture'
env:
TARGET_ARCH: z
TARGET_BITS: 64
- script: |
ccache -s -z
displayName: 'Print cache stats'

0 comments on commit 2d4ba07

Please sign in to comment.