Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
fireinrain committed Mar 22, 2023
1 parent 9344d3e commit 14f1018
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: |
sudo apt-get install gcc-multilib g++-multilib gcc-mingw-w64 libxinerama-dev xorg-dev mingw-w64 libx11-dev mesa-common-dev libglu1-mesa-dev && sudo add-apt-repository ppa:xapt/stable && apt-get install musl-tools x86_64-linux-musl-gcc
sudo apt-get install gcc-multilib g++-multilib gcc-mingw-w64 libxinerama-dev xorg-dev
- uses: actions/checkout@v3

Expand Down
17 changes: 8 additions & 9 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@ builds:
goarch:
- amd64
ldflags: -s -w -H=windowsgui
- id: linux
env:
- CC=x86_64-linux-musl-gcc
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
ldflags: -s -w -H=windowsgui
# - id: linux
# env:
# - CGO_ENABLED=1
# goos:
# - linux
# goarch:
# - amd64
# ldflags: -s -w -H=windowsgui
# mac交叉编译复杂
# - id: darwin
# env:
Expand Down

0 comments on commit 14f1018

Please sign in to comment.