Files
xc/.github/workflows/build.yml
Pavel Vorobyov f9cf44222e go version update
2023-03-31 00:25:42 +01:00

39 lines
805 B
YAML

on: [push]
name: build
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
arch:
- amd64
- arm64
os:
- linux
go-version:
- 1.19
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "${{ matrix.go-version }}"
# build {{
- name: make deps
run: make deps
- name: make build
run: make build CGO_ENABLED=0 GOARCH=${{ matrix.arch }} GOVVV_PKG=${{ github.repository_owner }}/${{ github.event.repository.name }}
# }}
- name: debug
run: |
ls -al
ls -al deps/
- uses: actions/upload-artifact@v3
with:
name: xc.${{ matrix.os }}-${{ matrix.arch }}
path: bin/xc