Skip to content

Commit 44971f9

Browse files
committed
Fix RedHat Clang
1 parent 8fa1fdb commit 44971f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/linux_redhat.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
fail-fast: false
2323
env:
2424
ARTIFACT: webui-linux-redhat-${{ matrix.cc }}-${{ matrix.arch }}
25+
CC: ${{ matrix.cc }}
2526
steps:
2627
- name: Check out the repository
2728
uses: actions/checkout@v4
@@ -44,11 +45,16 @@ jobs:
4445
-v ${{ github.workspace }}:/workspace \
4546
-w /workspace \
4647
--user root \
48+
-e CC=${{ matrix.cc }} \
4749
redhat:latest \
4850
bash -c "
4951
git config --global --add safe.directory /workspace &&
5052
npm i -g esbuild &&
5153
chmod +x bridge/build.sh &&
54+
if [ '${{ matrix.cc }}' == 'clang' ]; then
55+
export AR=llvm-ar
56+
export STRIP=llvm-strip
57+
fi &&
5258
./bridge/build.sh &&
5359
make debug &&
5460
make &&

0 commit comments

Comments
 (0)