From 7dbdf1dd0830e65dbb2a7c61a5c642fb228dc12f Mon Sep 17 00:00:00 2001 From: Mattt Date: Mon, 14 Dec 2020 10:17:00 -0800 Subject: [PATCH 1/3] Install libgit2-dev using apt-get --- .github/workflows/ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4205ab..8b503bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,12 +45,6 @@ jobs: - name: Install libgit2 run: | apt-get -qq update - apt-get install -y curl unzip cmake libssl-dev libssh2-1-dev python - curl -L -o libgit2.zip https://github.com/libgit2/libgit2/releases/download/v1.0.1/libgit2-1.0.1.zip - unzip -q libgit2.zip - cd libgit2-1.0.1 - ls - cmake . -DCMAKE_INSTALL_PREFIX=/usr - cmake --build . --target install + apt-get install -y libgit2-dev - name: Build and Test run: swift test --enable-test-discovery From c175aa8c3d37640c847a92d666359fe39c5a2ba1 Mon Sep 17 00:00:00 2001 From: Mattt Date: Thu, 4 Mar 2021 09:39:47 -0800 Subject: [PATCH 2/3] Run on Ubuntu focal --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b503bd..d3c3451 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer linux: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: From 165c3c6a0f3996c675a9c271688cf961039a9ab2 Mon Sep 17 00:00:00 2001 From: Mattt Date: Thu, 4 Mar 2021 10:21:37 -0800 Subject: [PATCH 3/3] Install libgit2-dev=1.1.0 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3c3451..4f7b6a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,6 @@ jobs: - name: Install libgit2 run: | apt-get -qq update - apt-get install -y libgit2-dev + apt-get install -y libgit2-dev=1.1.0 - name: Build and Test run: swift test --enable-test-discovery