Skip to content

Commit 074c775

Browse files
authored
Update main.yml
1 parent 5f4b301 commit 074c775

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,11 @@ jobs:
9999
- name: Build and test
100100
run: |
101101
if [ -n "${{ matrix.platform.image }}" ]; then
102+
mkdir build
102103
docker_container="${{ github.repository }}/${{ matrix.platform.image }}:latest"
103104
docker login https://${{ env.foo }} -u ${{ github.actor }} -p ${{ github.token }}
104105
docker pull ${{ env.foo }}/${docker_container}
105-
docker run ${{ env.foo }}/${docker_container} echo hi
106+
docker run ${{ env.foo }}/${docker_container} -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 echo hi
106107
else
107108
mkdir build && cd build
108109
../azure-pipelines/build.sh

0 commit comments

Comments
 (0)