test releaser #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |