Skip to content

Commit

Permalink
ci: support musl target
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaumy committed Sep 13, 2023
1 parent 2226f9d commit b61f828
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ jobs:
matrix:
targets:
# aarch64
- { os: macos-11 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-11 }
- { os: macos-12 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-12 }
- { os: ubuntu-20.04, target: aarch64-unknown-linux-gnu, alias: aarch64-gnu-ubuntu-20.04 }
- { os: ubuntu-22.04, target: aarch64-unknown-linux-gnu, alias: aarch64-gnu-ubuntu-22.04 }
- { os: macos-11 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-11 }
- { os: macos-12 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-12 }
- { os: ubuntu-20.04, target: aarch64-unknown-linux-musl, alias: aarch64-musl-ubuntu-20.04 }
- { os: ubuntu-22.04, target: aarch64-unknown-linux-musl, alias: aarch64-musl-ubuntu-22.04 }
# amd64
- { os: macos-12 , target: x86_64-apple-darwin , alias: amd64-darwin-macos-unknown }
- { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-20.04 }
- { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-22.04 }
- { os: windows-2019, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2019 }
- { os: windows-2022, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2022 }
- { os: macos-12 , target: x86_64-apple-darwin , alias: amd64-darwin-macos-unknown }
- { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-20.04 }
- { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-22.04 }
- { os: ubuntu-22.04, target: x86_64-unknown-linux-musl , alias: amd64-musl-linux-unknown }
- { os: windows-2019, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2019 }
- { os: windows-2022, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2022 }

steps:
- name: Checkout
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,17 @@ jobs:
matrix:
targets:
# aarch64
- { os: macos-11 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-11 }
- { os: macos-12 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-12 }
- { os: ubuntu-20.04, target: aarch64-unknown-linux-gnu, alias: aarch64-gnu-ubuntu-20.04 }
- { os: ubuntu-22.04, target: aarch64-unknown-linux-gnu, alias: aarch64-gnu-ubuntu-22.04 }
- { os: macos-11 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-11 }
- { os: macos-12 , target: aarch64-apple-darwin , alias: aarch64-darwin-macos-12 }
- { os: ubuntu-20.04, target: aarch64-unknown-linux-musl, alias: aarch64-musl-ubuntu-20.04 }
- { os: ubuntu-22.04, target: aarch64-unknown-linux-musl, alias: aarch64-musl-ubuntu-22.04 }
# amd64
- { os: macos-12 , target: x86_64-apple-darwin , alias: amd64-darwin-macos-unknown }
- { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-20.04 }
- { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-22.04 }
- { os: windows-2019, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2019 }
- { os: windows-2022, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2022 }
- { os: macos-12 , target: x86_64-apple-darwin , alias: amd64-darwin-macos-unknown }
- { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-20.04 }
- { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu , alias: amd64-gnu-ubuntu-22.04 }
- { os: ubuntu-22.04, target: x86_64-unknown-linux-musl , alias: amd64-musl-linux-unknown }
- { os: windows-2019, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2019 }
- { os: windows-2022, target: x86_64-pc-windows-msvc , alias: amd64-msvc-windows-2022 }

steps:
- name: Checkout
Expand Down

0 comments on commit b61f828

Please sign in to comment.