File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -99,12 +99,10 @@ jobs:
9999 - name : Build and test
100100 run : |
101101 if [ -n "${{ matrix.platform.image }}" ]; then
102- mkdir /tmp/__home__
103- mkdir build
104102 docker_container="${{ github.repository }}/${{ matrix.platform.image }}:latest"
105103 docker login https://${{ env.foo }} -u ${{ github.actor }} -p ${{ github.token }}
106104 docker pull ${{ env.foo }}/${docker_container}
107- docker run -v /tmp/__home__:/home/libgit2 -v $(pwd):/home/libgit2/source -v $(pwd)/build:/ home/libgit2/build -e CC -e CMAKE_GENERATOR -e CMAKE_OPTIONS -e PKG_CONFIG_PATH -e SKIP_SSH_TESTS -e SKIP_NEGOTIATE_TESTS ${{ env.foo }}/${docker_container} "cd build && ../azure-pipelines/build.sh && ../azure-pipelines/test.sh"
105+ docker run -v /tmp/__home__:/home/libgit2 -v $(pwd):/home/libgit2/source -w / home/libgit2/source -e CC -e CMAKE_GENERATOR -e CMAKE_OPTIONS -e PKG_CONFIG_PATH -e SKIP_SSH_TESTS -e SKIP_NEGOTIATE_TESTS ${{ env.foo }}/${docker_container} "mkdir build && cd build && ../azure-pipelines/build.sh && ../azure-pipelines/test.sh"
108106 else
109107 mkdir build && cd build
110108 ../azure-pipelines/build.sh
You can’t perform that action at this time.
0 commit comments