Skip to content

Commit 7f140bd

Browse files
committed
try adding matrix
1 parent dbcdfba commit 7f140bd

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/musl.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,25 @@ on:
1212
- "*"
1313

1414
jobs:
15-
arm-linux-musleabihf:
15+
toolchains:
16+
strategy:
17+
matrix:
18+
target: [aarch64-linux-musl, arm-linux-muleabifh, x86_64-linux-musl]
1619
runs-on: ubuntu-22.04
20+
name: ${{ matrix.target }}
1721
steps:
1822
- name: Checkout source
1923
uses: actions/checkout@v2
2024

21-
- name: Build arm-linux-musleabihf
22-
run: make arm-linux-musleabihf
25+
- name: Build ${{ matrix.target }}
26+
run: make ${{ matrix.target }}
2327

2428
- name: Upload release
2529
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
2630
uses: svenstaro/upload-release-action@v1-release
2731
with:
2832
repo_token: ${{ secrets.GITHUB_TOKEN }}
29-
file: "arm-linux-musleabihf.tar.gz"
33+
file: "${{ matrix.target }}.tar.gz"
3034
tag: ${{ github.ref }}
3135
overwrite: true
3236
file_glob: true

0 commit comments

Comments
 (0)