summaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml34
1 files changed, 17 insertions, 17 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6e342d116..74bab53f3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -22,8 +22,7 @@ jobs:
# with both the sha and "latest" so that the subsequent runs need not
# know the sha. Only do this on CI builds (when the event is a "push")
# because PR builds from forks lack permission to write packages.
- build_containers:
- name: Create docker image
+ containers:
strategy:
matrix:
container:
@@ -46,6 +45,7 @@ jobs:
- name: centos7
- name: centos8
runs-on: ubuntu-latest
+ name: "Create container: ${{ matrix.container.name }}"
steps:
- name: Check out repository
uses: actions/checkout@v2
@@ -80,12 +80,11 @@ jobs:
# and their details. Then we build either in a docker container (Linux)
# or on the actual hosts (macOS, Windows).
build:
- name: Build
- needs: [ build_containers ]
+ needs: [ containers ]
strategy:
matrix:
platform:
- - # Xenial, GCC, OpenSSL
+ - name: "Linux (Xenial, GCC, OpenSSL)"
container:
name: xenial
env:
@@ -93,7 +92,7 @@ jobs:
CMAKE_GENERATOR: Ninja
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
- - # Xenial, GCC, mbedTLS
+ - name: Linux (Xenial, GCC, mbedTLS)
container:
name: xenial
env:
@@ -101,7 +100,7 @@ jobs:
CMAKE_GENERATOR: Ninja
CMAKE_OPTIONS: -DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON
os: ubuntu-latest
- - # Xenial, Clang, OpenSSL
+ - name: "Linux (Xenial, Clang, OpenSSL)"
container:
name: xenial
env:
@@ -109,7 +108,7 @@ jobs:
CMAKE_GENERATOR: Ninja
CMAKE_OPTIONS: -DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON
os: ubuntu-latest
- - # Xenial, Clang, mbedTLS
+ - name: "Linux (Xenial, Clang, mbedTLS)"
container:
name: xenial
env:
@@ -117,7 +116,7 @@ jobs:
CMAKE_OPTIONS: -DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON
CMAKE_GENERATOR: Ninja
os: ubuntu-latest
- - # Focal, Clang 10, mbedTLS, MemorySanitizer
+ - name: "Linux (MemorySanitizer)"
container:
name: focal
env:
@@ -130,7 +129,7 @@ jobs:
ASAN_SYMBOLIZER_PATH: /usr/bin/llvm-symbolizer-10
UBSAN_OPTIONS: print_stacktrace=1
os: ubuntu-latest
- - # Focal, Clang 10, OpenSSL, UndefinedBehaviorSanitizer
+ - name: "Linux (UndefinedBehaviorSanitizer)"
container:
name: focal
env:
@@ -143,7 +142,7 @@ jobs:
ASAN_SYMBOLIZER_PATH: /usr/bin/llvm-symbolizer-10
UBSAN_OPTIONS: print_stacktrace=1
os: ubuntu-latest
- - # Focal, Clang 10, OpenSSL, ThreadSanitizer
+ - name: "Linux (ThreadSanitizer)"
container:
name: focal
env:
@@ -157,7 +156,7 @@ jobs:
UBSAN_OPTIONS: print_stacktrace=1
TSAN_OPTIONS: suppressions=/home/libgit2/source/script/thread-sanitizer.supp second_deadlock_stack=1
os: ubuntu-latest
- - # macOS
+ - name: "macOS"
os: macos-10.15
env:
CC: clang
@@ -166,7 +165,7 @@ jobs:
SKIP_SSH_TESTS: true
SKIP_NEGOTIATE_TESTS: true
setup-script: osx
- - # Windows amd64 Visual Studio
+ - name: "Windows (amd64, Visual Studio)"
os: windows-2019
env:
ARCH: amd64
@@ -174,7 +173,7 @@ jobs:
CMAKE_OPTIONS: -A x64 -DWIN32_LEAKCHECK=ON -DDEPRECATE_HARD=ON
SKIP_SSH_TESTS: true
SKIP_NEGOTIATE_TESTS: true
- - # Windows x86 Visual Studio
+ - name: "Windows (x86, Visual Studio)"
os: windows-2019
env:
ARCH: x86
@@ -182,7 +181,7 @@ jobs:
CMAKE_OPTIONS: -A Win32 -DWIN32_LEAKCHECK=ON -DDEPRECATE_HARD=ON -DUSE_SHA1=HTTPS -DUSE_BUNDLED_ZLIB=ON
SKIP_SSH_TESTS: true
SKIP_NEGOTIATE_TESTS: true
- - # Windows amd64 mingw
+ - name: "Windows (amd64, mingw)"
os: windows-2019
setup-script: mingw
env:
@@ -193,7 +192,7 @@ jobs:
BUILD_PATH: D:\Temp\mingw64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
SKIP_SSH_TESTS: true
SKIP_NEGOTIATE_TESTS: true
- - # Windows x86 mingw
+ - name: "Windows (x86, mingw)"
os: windows-2019
setup-script: mingw
env:
@@ -207,6 +206,7 @@ jobs:
fail-fast: false
env: ${{ matrix.platform.env }}
runs-on: ${{ matrix.platform.os }}
+ name: "Build: ${{ matrix.platform.name }}"
steps:
- name: Check out repository
uses: actions/checkout@v2
@@ -269,7 +269,7 @@ jobs:
# published to our documentation site.
documentation:
name: Generate documentation
- needs: [build_containers]
+ needs: [ containers ]
runs-on: ubuntu-latest
steps:
- name: Check out repository