From 549706bb573653469fbcc35c839759987c318d0c Mon Sep 17 00:00:00 2001 From: lhchavez Date: Sat, 4 Sep 2021 20:07:24 -0700 Subject: Declare forward-compatibility with libgit2 v1.2.0 #minor (#800) We can't yet ship a fully libgit2 v1.2.0-compatible library due to a missing public symbol, but we can allow the v1.1.0-era codebase to link against libgit2 v1.2.0 in the meantime. --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12f5c62..d5d7034 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,9 @@ jobs: strategy: fail-fast: false matrix: - libgit2: [ '1.1.0' ] + libgit2: + - 'v1.1.0' + - 'v1.2.0' name: Go (system-wide, dynamic) runs-on: ubuntu-20.04 @@ -78,7 +80,7 @@ jobs: run: | git submodule update --init sudo apt-get install -y --no-install-recommends libssh2-1-dev - sudo env BUILD_LIBGIT_REF=v${{ matrix.libgit2 }} ./script/build-libgit2.sh --dynamic --system + sudo env BUILD_LIBGIT_REF=${{ matrix.libgit2 }} ./script/build-libgit2.sh --dynamic --system - name: Test run: make TEST_ARGS=-test.v test -- cgit v1.2.3