mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2026-07-12 11:17:44 +00:00
25 lines
577 B
YAML
25 lines
577 B
YAML
on: [push, pull_request]
|
|
name: Build
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.15.x, 1.16.x]
|
|
goarch: [386, amd64, arm, arm64, ppc64le, s390x]
|
|
os: [ubuntu-latest] #, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
env:
|
|
GOARCH: ${{ matrix.goarch }}
|
|
GOOS: ${{ matrix.goos }}
|
|
run: ./hack/build-go.sh
|