Skip to content

Commit 8a93d3d

Browse files
committed
ci: Install musl-tools at x86_64-unknown-linux-musl build time
1 parent 243a108 commit 8a93d3d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Run test
3535
run: cargo test --verbose
3636
build:
37-
name: Build (${{ matrix.job.target }})
37+
name: build (${{ matrix.job.target }})
3838
runs-on: ${{ matrix.job.os || 'ubuntu-latest' }}
3939
needs: check
4040
strategy:
@@ -72,6 +72,11 @@ jobs:
7272
if: matrix.job.use-cross
7373
run: cargo install cross
7474

75+
# note: In Ubuntu-latest (Ubuntu 24), musl-tools has disappeared, so it must be installed separately.
76+
- name: Install musl-gcc
77+
if: matrix.job.target == 'x86_64-unknown-linux-musl'
78+
run: sudo apt-get update && sudo apt-get install -y musl-tools
79+
7580
- name: Build
7681
run: |
7782
cargo build --verbose --target ${{ matrix.job.target }}

.github/workflows/release.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17-
1817
- name: Get token
1918
id: babyrite-token
2019
uses: tibdex/github-app-token@v2

0 commit comments

Comments
 (0)