-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (39 loc) · 1.03 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
on:
pull_request:
branches:
- master
name: Build
jobs:
test-releaser:
runs-on: ubuntu-latest
# strategy:
# matrix:
# platform: [ubuntu-latest, macos-latest]
# runs-on: ${{ matrix.platform }}
steps:
# - name: Install Dependencies (macOS)
# if: runner.os == 'macOS'
# run: brew install bash
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.23.x
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-tags: true
- name: Show compliler env
run: |
go env
gcc --version || echo "No gcc"
clang --version || echo "No clang"
sudo apt-get update && sudo apt-get install -y \
curl \
gcc-aarch64-linux-gnu \
gcc-arm-linux-gnueabi \
- name: Releaser build
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: v2.6.1
args: build --clean --skip=validate