Commit 8747c004 by Edward Thomson

ci: upload test result data as artifacts

parent fd8d3673
...@@ -85,6 +85,7 @@ jobs: ...@@ -85,6 +85,7 @@ jobs:
matrix: matrix:
platform: platform:
- name: "Linux (Xenial, GCC, OpenSSL)" - name: "Linux (Xenial, GCC, OpenSSL)"
id: xenial-gcc-openssl
container: container:
name: xenial name: xenial
env: env:
...@@ -93,6 +94,7 @@ jobs: ...@@ -93,6 +94,7 @@ jobs:
CMAKE_OPTIONS: -DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON -DDEBUG_STRICT_ALLOC=ON -DDEBUG_STRICT_OPEN=ON CMAKE_OPTIONS: -DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON -DDEBUG_STRICT_ALLOC=ON -DDEBUG_STRICT_OPEN=ON
os: ubuntu-latest os: ubuntu-latest
- name: Linux (Xenial, GCC, mbedTLS) - name: Linux (Xenial, GCC, mbedTLS)
id: xenial-gcc-mbedtls
container: container:
name: xenial name: xenial
env: env:
...@@ -101,6 +103,7 @@ jobs: ...@@ -101,6 +103,7 @@ jobs:
CMAKE_OPTIONS: -DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON CMAKE_OPTIONS: -DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON
os: ubuntu-latest os: ubuntu-latest
- name: "Linux (Xenial, Clang, OpenSSL)" - name: "Linux (Xenial, Clang, OpenSSL)"
id: xenial-clang-openssl
container: container:
name: xenial name: xenial
env: env:
...@@ -109,6 +112,7 @@ jobs: ...@@ -109,6 +112,7 @@ jobs:
CMAKE_OPTIONS: -DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON CMAKE_OPTIONS: -DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON
os: ubuntu-latest os: ubuntu-latest
- name: "Linux (Xenial, Clang, mbedTLS)" - name: "Linux (Xenial, Clang, mbedTLS)"
id: xenial-clang-mbedtls
container: container:
name: xenial name: xenial
env: env:
...@@ -117,6 +121,7 @@ jobs: ...@@ -117,6 +121,7 @@ jobs:
CMAKE_GENERATOR: Ninja CMAKE_GENERATOR: Ninja
os: ubuntu-latest os: ubuntu-latest
- name: "Linux (MemorySanitizer)" - name: "Linux (MemorySanitizer)"
id: memorysanitizer
container: container:
name: focal name: focal
env: env:
...@@ -130,6 +135,7 @@ jobs: ...@@ -130,6 +135,7 @@ jobs:
UBSAN_OPTIONS: print_stacktrace=1 UBSAN_OPTIONS: print_stacktrace=1
os: ubuntu-latest os: ubuntu-latest
- name: "Linux (UndefinedBehaviorSanitizer)" - name: "Linux (UndefinedBehaviorSanitizer)"
id: ubsanitizer
container: container:
name: focal name: focal
env: env:
...@@ -143,6 +149,7 @@ jobs: ...@@ -143,6 +149,7 @@ jobs:
UBSAN_OPTIONS: print_stacktrace=1 UBSAN_OPTIONS: print_stacktrace=1
os: ubuntu-latest os: ubuntu-latest
- name: "Linux (ThreadSanitizer)" - name: "Linux (ThreadSanitizer)"
id: threadsanitizer
container: container:
name: focal name: focal
env: env:
...@@ -157,6 +164,7 @@ jobs: ...@@ -157,6 +164,7 @@ jobs:
TSAN_OPTIONS: suppressions=/home/libgit2/source/script/thread-sanitizer.supp second_deadlock_stack=1 TSAN_OPTIONS: suppressions=/home/libgit2/source/script/thread-sanitizer.supp second_deadlock_stack=1
os: ubuntu-latest os: ubuntu-latest
- name: "macOS" - name: "macOS"
id: macos
os: macos-10.15 os: macos-10.15
env: env:
CC: clang CC: clang
...@@ -166,6 +174,7 @@ jobs: ...@@ -166,6 +174,7 @@ jobs:
SKIP_NEGOTIATE_TESTS: true SKIP_NEGOTIATE_TESTS: true
setup-script: osx setup-script: osx
- name: "Windows (amd64, Visual Studio)" - name: "Windows (amd64, Visual Studio)"
id: windows-amd64-vs
os: windows-2019 os: windows-2019
env: env:
ARCH: amd64 ARCH: amd64
...@@ -174,6 +183,7 @@ jobs: ...@@ -174,6 +183,7 @@ jobs:
SKIP_SSH_TESTS: true SKIP_SSH_TESTS: true
SKIP_NEGOTIATE_TESTS: true SKIP_NEGOTIATE_TESTS: true
- name: "Windows (x86, Visual Studio)" - name: "Windows (x86, Visual Studio)"
id: windows-x86-vs
os: windows-2019 os: windows-2019
env: env:
ARCH: x86 ARCH: x86
...@@ -182,6 +192,7 @@ jobs: ...@@ -182,6 +192,7 @@ jobs:
SKIP_SSH_TESTS: true SKIP_SSH_TESTS: true
SKIP_NEGOTIATE_TESTS: true SKIP_NEGOTIATE_TESTS: true
- name: "Windows (amd64, mingw)" - name: "Windows (amd64, mingw)"
id: windows-amd64-mingw
os: windows-2019 os: windows-2019
setup-script: mingw setup-script: mingw
env: env:
...@@ -193,6 +204,7 @@ jobs: ...@@ -193,6 +204,7 @@ jobs:
SKIP_SSH_TESTS: true SKIP_SSH_TESTS: true
SKIP_NEGOTIATE_TESTS: true SKIP_NEGOTIATE_TESTS: true
- name: "Windows (x86, mingw)" - name: "Windows (x86, mingw)"
id: windows-x86-mingw
os: windows-2019 os: windows-2019
setup-script: mingw setup-script: mingw
env: env:
...@@ -265,6 +277,11 @@ jobs: ...@@ -265,6 +277,11 @@ jobs:
../source/ci/test.sh ../source/ci/test.sh
fi fi
shell: bash shell: bash
- name: Upload test results
uses: actions/upload-artifact@v3
with:
name: test_results_${{ matrix.platform.id }}
path: build/results_*.xml
# Generate documentation using docurium. We'll upload the documentation # Generate documentation using docurium. We'll upload the documentation
# as a build artifact so that it can be reviewed as part of a pull # as a build artifact so that it can be reviewed as part of a pull
......
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