mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 07:05:06 +03:00
Try github actions
This commit is contained in:
parent
f4e326f5dd
commit
8b4dd5c7a5
1 changed files with 35 additions and 0 deletions
35
.github/workflows/go.yml
vendored
Normal file
35
.github/workflows/go.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue