summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml52
1 files changed, 48 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5472f22..88e6c57 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -46,10 +46,10 @@ jobs:
strategy:
fail-fast: false
matrix:
- go: [ '1.11', '1.12', '1.13' ]
+ go: [ '1.11', '1.12', '1.13', '1.14' ]
name: Go ${{ matrix.go }}
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
steps:
- name: Set up Go
@@ -71,13 +71,13 @@ jobs:
fail-fast: false
name: Go (dynamic)
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
- go-version: '1.13'
+ go-version: '1.14'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
@@ -87,3 +87,47 @@ jobs:
make build-libgit2-dynamic
- name: Test
run: make test-dynamic
+
+ build-system-dynamic:
+ strategy:
+ fail-fast: false
+ name: Go (system-wide, dynamic)
+
+ runs-on: ubuntu-20.04
+
+ steps:
+ - name: Set up Go
+ uses: actions/setup-go@v1
+ with:
+ go-version: '1.14'
+ id: go
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v1
+ - name: Build libgit2
+ run: |
+ git submodule update --init
+ sudo ./script/build-libgit2.sh --dynamic --system
+ - name: Test
+ run: make test
+
+ build-system-static:
+ strategy:
+ fail-fast: false
+ name: Go (system-wide, static)
+
+ runs-on: ubuntu-20.04
+
+ steps:
+ - name: Set up Go
+ uses: actions/setup-go@v1
+ with:
+ go-version: '1.14'
+ id: go
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v1
+ - name: Build libgit2
+ run: |
+ git submodule update --init
+ sudo ./script/build-libgit2.sh --static --system
+ - name: Test
+ run: go test --count=1 --tags "static,system_libgit2" ./...