File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,21 @@ jobs:
2929 include :
3030 - target : x86_64-unknown-linux-gnu
3131 os : ubuntu-latest
32+ - target : x86_64-unknown-linux-musl
33+ os : ubuntu-latest
3234 - target : x86_64-apple-darwin
3335 os : macos-latest
3436 - target : x86_64-pc-windows-msvc
3537 os : windows-latest
3638 runs-on : ${{ matrix.os }}
3739 steps :
3840 - uses : actions/checkout@v4
41+ - name : Installing musl
42+ if : ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
43+ run : |
44+ sudo apt-get update
45+ sudo apt-get install -y musl-tools musl-dev
46+ sudo ln -s /usr/bin/g++ /usr/bin/musl-g++
3947 - name : Overriding rust version to project MSRV
4048 run : |
4149 echo Before override
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ Currently supported targets include:
114114
115115- ` x86_64-apple-darwin `
116116- ` x86_64-unknown-linux-gnu `
117+ - ` x86_64-unknown-linux-musl `
117118- ` x86_64-pc-windows-msvc `
118119
119120Feel free to open a PR to improve the CI by adding relevant targets.
You can’t perform that action at this time.
0 commit comments