ci: Use YAML anchor and aliases for repeated "Print logs" steps
This commit is contained in:
55
.github/workflows/ci.yml
vendored
55
.github/workflows/ci.yml
vendored
@@ -117,7 +117,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- &PRINT_LOGS
|
||||||
|
name: Print logs
|
||||||
uses: ./.github/actions/print-logs
|
uses: ./.github/actions/print-logs
|
||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
|
|
||||||
@@ -151,9 +152,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
s390x_debian:
|
s390x_debian:
|
||||||
name: "s390x (big-endian): Linux (Debian stable, QEMU)"
|
name: "s390x (big-endian): Linux (Debian stable, QEMU)"
|
||||||
@@ -181,10 +180,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
|
|
||||||
arm32_debian:
|
arm32_debian:
|
||||||
name: "ARM32: Linux (Debian stable, QEMU)"
|
name: "ARM32: Linux (Debian stable, QEMU)"
|
||||||
@@ -220,9 +216,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
arm64-debian:
|
arm64-debian:
|
||||||
name: "arm64: Linux (Debian stable)"
|
name: "arm64: Linux (Debian stable)"
|
||||||
@@ -258,9 +252,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
ppc64le_debian:
|
ppc64le_debian:
|
||||||
name: "ppc64le: Linux (Debian stable, QEMU)"
|
name: "ppc64le: Linux (Debian stable, QEMU)"
|
||||||
@@ -288,10 +280,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
|
|
||||||
valgrind_debian:
|
valgrind_debian:
|
||||||
name: "Valgrind ${{ matrix.binary_arch }} (memcheck)"
|
name: "Valgrind ${{ matrix.binary_arch }} (memcheck)"
|
||||||
@@ -343,9 +332,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
sanitizers_debian:
|
sanitizers_debian:
|
||||||
name: "UBSan, ASan, LSan"
|
name: "UBSan, ASan, LSan"
|
||||||
@@ -385,9 +372,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
msan_debian:
|
msan_debian:
|
||||||
name: "MSan"
|
name: "MSan"
|
||||||
@@ -434,10 +419,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
|
|
||||||
mingw_debian:
|
mingw_debian:
|
||||||
name: ${{ matrix.configuration.job_name }}
|
name: ${{ matrix.configuration.job_name }}
|
||||||
@@ -475,9 +457,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
x86_64-macos-native:
|
x86_64-macos-native:
|
||||||
name: "x86_64: macOS Ventura, Valgrind"
|
name: "x86_64: macOS Ventura, Valgrind"
|
||||||
@@ -526,9 +506,7 @@ jobs:
|
|||||||
python3 -m pip install lief
|
python3 -m pip install lief
|
||||||
python3 ./tools/symbol-check.py .libs/libsecp256k1.dylib
|
python3 ./tools/symbol-check.py .libs/libsecp256k1.dylib
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
arm64-macos-native:
|
arm64-macos-native:
|
||||||
name: "ARM64: macOS Sonoma"
|
name: "ARM64: macOS Sonoma"
|
||||||
@@ -578,10 +556,7 @@ jobs:
|
|||||||
python3 -m pip install lief
|
python3 -m pip install lief
|
||||||
python3 ./tools/symbol-check.py .libs/libsecp256k1.dylib
|
python3 ./tools/symbol-check.py .libs/libsecp256k1.dylib
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
|
|
||||||
win64-native:
|
win64-native:
|
||||||
name: ${{ matrix.configuration.job_name }}
|
name: ${{ matrix.configuration.job_name }}
|
||||||
@@ -685,9 +660,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dockerfile: ./ci/linux-debian.Dockerfile
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
|
||||||
- name: Print logs
|
- *PRINT_LOGS
|
||||||
uses: ./.github/actions/print-logs
|
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
|
|
||||||
cxx_headers_debian:
|
cxx_headers_debian:
|
||||||
name: "C++ (public headers)"
|
name: "C++ (public headers)"
|
||||||
|
|||||||
Reference in New Issue
Block a user