Skip to content

Commit

Permalink
Build linux and musl separately
Browse files Browse the repository at this point in the history
  • Loading branch information
scudette committed Nov 4, 2024
1 parent 6418dad commit 49b369e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Only trigger when a PR is committed.
name: Linux Build All Arches
on: [pull_request]
on:
pull_request:
types: [closed]

jobs:
build:
if: github.event.pull_request.merged
Expand Down Expand Up @@ -45,8 +48,6 @@ jobs:
mkdir ./output/
export PATH=$PATH:~/go/bin/
go run make.go -v UpdateDependentTools
go run make.go -v Linux
go run make.go -v LinuxArm64
go run make.go -v Windows
go run make.go -v Windowsx86
go run make.go -v DarwinBase
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/musl.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Only trigger when a PR is committed.
name: Linux Build Musl Static
#on: [pull_request]
on:
pull_request:
types: [closed]
Expand All @@ -9,7 +8,7 @@ jobs:
build:
if: github.event.pull_request.merged
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:

- name: Check out code into the Go module directory
Expand Down Expand Up @@ -54,7 +53,9 @@ jobs:
export PATH=$PATH:~/go/bin/:/usr/local/musl/bin
go run make.go -v UpdateDependentTools
go run make.go -v LinuxMusl
go run make.go -v LinuxMuslDebug
go run make.go -v Linux
go run make.go -v LinuxArm64
# go run make.go -v LinuxMuslDebug
- name: StoreBinaries
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 49b369e

Please sign in to comment.