mirror of
https://github.com/kemko/xc.git
synced 2026-01-01 15:55:43 +03:00
* add .github/workflows/build.yml add Makefile go.mod: add govvv go.sum: add govvv * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * fix .github/workflows/build.yml * remote/serial.go "panic: bytes: negative Repeat count" * fix .github/workflows/build.yml * fix .github/workflows/build.yml * remove cache * add .github/workflows/release.yml * add .github/workflows/release.yml * .github/workflows/build.yml enable ARM * remote/serial.go fix syscall.Dup2 for ARM
39 lines
805 B
YAML
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.15
|
|
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
|