Skip to content

Commit

Permalink
test releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
kindermax committed Jan 27, 2025
1 parent 60cae23 commit edcb16f
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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@v4
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

0 comments on commit edcb16f

Please sign in to comment.