Skip to content

Commit 2b85941

Browse files
committed
test release with cgo uchardet
1 parent e3668aa commit 2b85941

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
sudo apt-get install -y build-essential gcc-multilib libuchardet-dev
2121
cc: gcc
2222
cxx: g++
23+
targets: linux-amd64,linux-arm64
2324
- os: windows-latest
2425
setup: |
2526
choco install mingw
@@ -28,12 +29,14 @@ jobs:
2829
refreshenv
2930
cc: gcc
3031
cxx: g++
32+
targets: windows-amd64
3133
- os: macos-latest
3234
setup: |
3335
brew install gcc
3436
brew install uchardet
3537
cc: gcc-13
3638
cxx: g++-13
39+
targets: darwin-amd64,darwin-arm64
3740

3841
runs-on: ${{ matrix.os }}
3942
steps:
@@ -55,7 +58,7 @@ jobs:
5558
with:
5659
distribution: goreleaser
5760
version: latest
58-
args: release --clean
61+
args: release --clean --id=${{ matrix.targets }}
5962
env:
6063
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6164
CGO_ENABLED: 1

0 commit comments

Comments
 (0)