fail-fast: false
matrix:
vector:
- - jobname: linux-musl
+ - jobname: linux-sha256
+ image: ubuntu:rolling
+ cc: clang
+ - jobname: linux-reftable
+ image: ubuntu:rolling
+ cc: clang
+ - jobname: linux-TEST-vars
+ image: ubuntu:20.04
+ cc: gcc
+ cc_package: gcc-8
+ - jobname: linux-breaking-changes
+ cc: gcc
+ image: ubuntu:rolling
+ - jobname: linux-leaks
+ image: ubuntu:rolling
+ cc: gcc
+ - jobname: linux-reftable-leaks
+ image: ubuntu:rolling
+ cc: gcc
+ - jobname: linux-asan-ubsan
+ image: ubuntu:rolling
+ cc: clang
+ - jobname: linux-meson
+ image: ubuntu:rolling
+ cc: gcc
- image: alpine
- distro: alpine-latest
+ - jobname: linux-musl-meson
+ image: alpine:latest
# Supported until 2025-04-02.
- jobname: linux32
image: i386/ubuntu:focal
description: 'The backend used for hashing data with the SHA1 object format in case no cryptographic security is needed.')
option('sha256_backend', type: 'combo', choices: ['openssl', 'nettle', 'gcrypt', 'block'], value: 'block',
description: 'The backend used for hashing objects with the SHA256 object format.')
+ option('zlib_backend', type: 'combo', choices: ['auto', 'zlib', 'zlib-ng'], value: 'auto',
+ description: 'The backend used for compressing objects and other data.')
# Build tweaks.
+option('breaking_changes', type: 'boolean', value: false,
+ description: 'Enable upcoming breaking changes.')
option('macos_use_homebrew_gettext', type: 'boolean', value: true,
description: 'Use gettext from Homebrew instead of the slightly-broken system-provided one.')
/* This header glues the reftable library to the rest of Git */
-#define DISABLE_SIGN_COMPARE_WARNINGS
-
#include "git-compat-util.h"
+ #include "compat/zlib-compat.h"
/*
* An implementation-specific temporary file. By making this specific to the