commit
f21ecd9e74
|
@ -0,0 +1,31 @@
|
||||||
|
name: git2go CI
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- v*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
|
||||||
|
name: Go ${{ matrix.go }}
|
||||||
|
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v1
|
||||||
|
with:
|
||||||
|
go-version: ${{ matrix.go }}
|
||||||
|
id: go
|
||||||
|
- name: Check out code into the Go module directory
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
git submodule update --init
|
||||||
|
make test-static
|
|
@ -1,9 +1,11 @@
|
||||||
package git
|
package git
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#include <git2.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <git2.h>
|
||||||
|
#include <git2/sys/cred.h>
|
||||||
|
|
||||||
extern void _go_git_setup_callbacks(git_remote_callbacks *callbacks);
|
extern void _go_git_setup_callbacks(git_remote_callbacks *callbacks);
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue