Skip to content

Commit

Permalink
#2121: Test local driver
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Nov 10, 2023
1 parent 286dcef commit 77b28d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions ci/azure/azure-gcc-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ stages:
inputs:
targetType: 'inline'
script: |
ls -la $(CACHE)
ls -la $(build_root)
docker volume inspect --format '{{ .Mountpoint }}' $(ARCH)-ubuntu-$(UBUNTU)-$(HOST_COMPILER)-$(COMPILER)-cache
zip -j $(Agent.TempDirectory)/LastTest.log.gz $(build_root)/vt/Testing/Temporary/LastTest.log
zip -j $(Agent.TempDirectory)/cmake-output.log.gz $(build_root)/vt/cmake-output.log
- task: PublishPipelineArtifact@1
Expand Down
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,15 @@ volumes:
ubuntu-cpp:
# driver: local
name: "${ARCH}-ubuntu-${UBUNTU}-${HOST_COMPILER}-${COMPILER}-cache"
driver_opts:
device: "${CACHE}"
# driver_opts:
# type: "nfs"
# device: "${CACHE}${ARCH}-ubuntu-${UBUNTU}-${HOST_COMPILER}-${COMPILER}-cache"
alpine-cpp:
# driver: local
name: "${ARCH}-alpine-${HOST_COMPILER}-${COMPILER}-cache"
driver_opts:
device: "${CACHE}"
# driver_opts:
# type: "nfs"
# device: "${CACHE}${ARCH}-alpine-${HOST_COMPILER}-${COMPILER}-cache"

# Define basic rules for ccache used across multiple services. The beauty of
# docker compose with cached volumes is that similarly configured builds will
Expand Down

0 comments on commit 77b28d4

Please sign in to comment.