Setup CI via Actions #520
|
@ -0,0 +1,31 @@
|
||||||
|
|||||||
|
name: git2go CI
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
on:
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
pull_request:
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
push:
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
branches:
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
- master
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
- v*
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
jobs:
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
build:
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
strategy:
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
fail-fast: false
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
matrix:
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
name: Go ${{ matrix.go }}
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
runs-on: ubuntu-18.04
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
steps:
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
- name: Set up Go
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
uses: actions/setup-go@v1
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
with:
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
go-version: ${{ matrix.go }}
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
id: go
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
- name: Check out code into the Go module directory
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
uses: actions/checkout@v1
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
- name: Build
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
run: |
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
git submodule update --init
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|||||||
|
make test-static
|
||||||
![]()
aww man, so much time has passed since this PR was opened. ```suggestion
go: [ '1.9', '1.10', '1.11', '1.12' , '1.13']
```
aww man, so much time has passed since this PR was opened.
|
|
@ -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);
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
aww man, so much time has passed since this PR was opened.
aww man, so much time has passed since this PR was opened.