tqcq
a63f79c8ed
Some checks failed
catsync-build / simple-build (amd64, drawin, 1.23.1) (push) Failing after 48s
catsync-build / simple-build (amd64, drawin, oldstable) (push) Failing after 30s
catsync-build / simple-build (amd64, linux, 1.23.1) (push) Failing after 30s
catsync-build / simple-build (amd64, linux, oldstable) (push) Failing after 36s
catsync-build / simple-build (amd64, windows, 1.23.1) (push) Failing after 32s
catsync-build / simple-build (amd64, windows, oldstable) (push) Failing after 30s
catsync-build / simple-build (arm64, drawin, 1.23.1) (push) Failing after 32s
catsync-build / simple-build (arm64, drawin, oldstable) (push) Failing after 34s
catsync-build / simple-build (arm64, linux, 1.23.1) (push) Failing after 32s
catsync-build / simple-build (arm64, linux, oldstable) (push) Failing after 32s
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
---
|
|
name: catsync-build
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.gitea/workflows/build.yml'
|
|
- 'go.mod'
|
|
- 'go.sum'
|
|
- 'main.go'
|
|
- 'assets/**'
|
|
- 'pb/**'
|
|
pull_request:
|
|
paths:
|
|
- '.gitea/workflows/build.yml'
|
|
- 'go.mod'
|
|
- 'go.sum'
|
|
- 'main.go'
|
|
- 'assets/**'
|
|
- 'pb/**'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: simple-build
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
matrix:
|
|
goos: [linux, windows, drawin]
|
|
goarch: [amd64, arm64]
|
|
gover: ['1.23.1', 'oldstable']
|
|
exclude:
|
|
- goarch: arm64
|
|
goos: windows
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.gover }}
|
|
- name: install-tools
|
|
run: apt-get update -y && apt-get install -y protobuf-compiler
|
|
- name: protobuf-gen
|
|
run: |
|
|
protoc --go_out=. ./assets/protobuf/*.proto
|
|
- name: build
|
|
run: |
|
|
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -x .
|
|
|