Skip to content

Commit 9c7d462

Browse files
committed
ci: set CC/CXX for musl builds to fix tracy-client-sys compilation
1 parent 05f8017 commit 9c7d462

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ jobs:
6464
run: sudo apt-get update && sudo apt-get install -y musl-tools
6565
- name: Build
6666
run: cargo build --profile production --target ${{ matrix.target }} --all-features
67+
env:
68+
CC: ${{ runner.os == 'Linux' && 'musl-gcc' || '' }}
69+
CXX: ${{ runner.os == 'Linux' && 'g++' || '' }}
6770
- name: Package (Linux/macOS)
6871
if: runner.os != 'Windows'
6972
run: tar -czf ferrumc-${{ github.ref_name }}-${{ matrix.target }}.tar.gz -C target/${{ matrix.target }}/production ferrumc

0 commit comments

Comments
 (0)