Skip to content

Commit

Permalink
ci/cd: add musl to a build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
realkarmakun committed Jul 23, 2024
1 parent 02f7310 commit 0c146ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- name: macos-amd64
os: macos-latest
target: x86_64-apple-darwin
- name: linux-amd64-musl
os: ubuntu-latest
target: x86_64-unknown-linux-musl

steps:
- name: Checkout sources
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
run: |
mv dist/pterocli-macos-amd64/pterocli pterocli-macos-amd64
mv dist/pterocli-linux-amd64/pterocli pterocli-linux-amd64
mv dist/pterocli-linux-amd64-musl/pterocli pterocli-linux-amd64-musl
mv dist/pterocli-win-amd64.exe/pterocli.exe pterocli-win-amd64.exe
- name: Create release
Expand All @@ -34,4 +35,5 @@ jobs:
files: |
pterocli-macos-amd64
pterocli-linux-amd64
pterocli-linux-amd64-musl
pterocli-win-amd64.exe

0 comments on commit 0c146ba

Please sign in to comment.