From 8b4dd5c7a52f9329cf45abb207858fd8ba8e37d7 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 11 Sep 2019 15:26:24 +0100 Subject: [PATCH] Try github actions --- .github/workflows/go.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 00000000..85d36b34 --- /dev/null +++ b/.github/workflows/go.yml @@ -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