Commit cf754031 by Edward Thomson

nightly

parent 45e95144
...@@ -324,35 +324,20 @@ jobs: ...@@ -324,35 +324,20 @@ jobs:
run: docker build -t ${{ env.docker-registry-container-sha }} -f ${{ env.dockerfile }} . run: docker build -t ${{ env.docker-registry-container-sha }} -f ${{ env.dockerfile }} .
working-directory: ${{ env.docker-config-path }} working-directory: ${{ env.docker-config-path }}
if: matrix.platform.container.name != '' && env.docker-container-exists != 'true' if: matrix.platform.container.name != '' && env.docker-container-exists != 'true'
- name: Build and test - name: Prepare build
run: | run: mkdir build
export GITTEST_NEGOTIATE_PASSWORD="${{ secrets.GITTEST_NEGOTIATE_PASSWORD }}" - name: Build
uses: ./source/.github/actions/run-build
if [ -n "${{ matrix.platform.container.name }}" ]; then with:
docker run \ command: cd build && ../source/ci/build.sh
--rm \ container: ${{ matrix.platform.container.name }}
--user libgit2:libgit2 \ container-version: ${{ env.docker-registry-container-sha }}
-v "$(pwd)/source:/home/libgit2/source" \ - name: Test
-w /home/libgit2 \ uses: ./source/.github/actions/run-build
-e ASAN_SYMBOLIZER_PATH \ with:
-e CC \ command: cd build && ../source/ci/test.sh
-e CFLAGS \ container: ${{ matrix.platform.container.name }}
-e CMAKE_GENERATOR \ container-version: ${{ env.docker-registry-container-sha }}
-e CMAKE_OPTIONS \
-e GITTEST_NEGOTIATE_PASSWORD \
-e GITTEST_FLAKY_STAT \
-e PKG_CONFIG_PATH \
-e SKIP_NEGOTIATE_TESTS \
-e SKIP_SSH_TESTS \
-e TSAN_OPTIONS \
${{ env.docker-registry-container-sha }} \
/bin/bash -c "mkdir build && cd build && ../source/ci/build.sh && ../source/ci/test.sh"
else
mkdir build && cd build
../source/ci/build.sh
../source/ci/test.sh
fi
shell: bash
coverity: coverity:
# Only run scheduled workflows on the main repository; prevents people # Only run scheduled workflows on the main repository; prevents people
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment