Skip to content

Commit

Permalink
specify CXX for musl
Browse files Browse the repository at this point in the history
  • Loading branch information
maminrayej committed Oct 25, 2024
1 parent 652d9e9 commit 9f7946a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,17 @@ jobs:
if: matrix.target.id == 'windows-amd64'

- name: Build
if: matrix.target.id != 'windows-amd64'
if: matrix.target.id != 'windows-amd64' && matrix.target != 'linux-musl'
shell: bash
run: |
./build.sh
- name: Build musl
if: matrix.target.id == 'linux-musl'
shell: bash
run: |
CXX=clang++-18 ./build.sh
- name: Build (Windows)
if: matrix.target.id == 'windows-amd64'
run: |
Expand Down

0 comments on commit 9f7946a

Please sign in to comment.