-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
97cbab3
commit 46c8061
Showing
6 changed files
with
49 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Starter pipeline | ||
# Start with a minimal pipeline that you can customize to build and deploy your code. | ||
# Add steps that build, run tests, deploy, and more: | ||
# https://aka.ms/yaml | ||
|
||
trigger: | ||
- development | ||
|
||
pr: | ||
autoCancel: true | ||
branches: | ||
include: | ||
- development | ||
|
||
jobs: | ||
- job: BuildAndTest | ||
timeoutInMinutes: 180 # how long to run the job before automatically cancelling | ||
pool: oracle-cloud | ||
steps: | ||
- task: CMake@1 | ||
displayName: 'Configure CMake' | ||
inputs: | ||
cmakeArgs: '.. -DCMAKE_BUILD_TYPE=Release -DENABLE_HWASAN=ON -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DAMReX_SPACEDIM=1' | ||
|
||
- task: CMake@1 | ||
displayName: 'Build Quokka' | ||
inputs: | ||
cmakeArgs: '--build .' | ||
|
||
- task: CMake@1 | ||
displayName: 'Run CTest' | ||
inputs: | ||
cmakeArgs: '-E chdir . ctest -j 2 -T Test --output-on-failure' | ||
|
||
- task: PublishTestResults@2 | ||
inputs: | ||
testResultsFormat: cTest | ||
testResultsFiles: build/Testing/*/Test.xml | ||
testRunTitle: $(Agent.JobName) | ||
condition: succeededOrFailed() | ||
displayName: Publish test results |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters