xmtop/.github/workflows/build.yml

23 lines
537 B
YAML

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@master
env:
SRCPATH: ./cmd/gotop
with:
args: darwin/amd64/1 linux/amd64 linux/386 linux/arm64 linux/arm7 linux/arm6 linux/arm5 windows/amd64 windows/386 freebsd/amd64 freebsd/386