Try github actions

This commit is contained in:
Neil Alexander 2019-09-11 15:26:24 +01:00
parent f4e326f5dd
commit 8b4dd5c7a5
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

35
.github/workflows/go.yml vendored Normal file
View file

@ -0,0 +1,35 @@
name: Go
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
name: Build .deb package for ${{ matrix.platform }}
runs-on: ubuntu-latest
strategy:
matrix:
platform: [amd64, i386, mipsel, mips, armhf, arm64]
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Build
run: sh contrib/deb/generate.sh
env:
PKGARCH: ${{ matrix.platform }}
CINAME: yggdrasil
CIVERSION: 0.3.8