summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
blob: fe7989b0bb6409125496099a8cfd31862ccabbda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Build Go binaries

on:
    push:
        paths-ignore:
        - 'docs/release.svg'
        - 'README.md'
        - 'CHANGELOG.md'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@master

      - name: Compile
        uses: xxxserxxx/actions/golang-build@v2.0.2
        env:
            SRCPATH: ./cmd/gotop
        with:
          args: darwin/amd64/1 darwin/arm64/1 linux/amd64 linux/386 linux/arm64 linux/arm7 linux/arm6 linux/arm5 windows/amd64/1 windows/386/1 freebsd/amd64/1