-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Build | ||
jobs: | ||
test-releaser: | ||
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 | ||
- name: Show compliler env | ||
run: | | ||
env | grep CC | ||
env | grep CXX | ||
env | grep FLAGS | ||
gcc --version || echo "No gcc" | ||
clang --version || echo "No clang" | ||
- name: Releaser build | ||
uses: goreleaser/goreleaser-action@v4 | ||
with: | ||
distribution: goreleaser | ||
version: v2.6.1 | ||
args: build --clean |