Skip to content

Commit

Permalink
ci: install clang
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Oct 23, 2023
1 parent fa3e594 commit 2dd1842
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/scripts/install-libff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ fi
if [ "$HOST_OS" = "Windows" ]; then
ARGS+=("-G" "Ninja")
sed -i 's/find_library(GMP_LIBRARY gmp)/find_library(GMP_LIBRARY NAMES libgmp.a)/' CMakeLists.txt
export CC=clang
export CXX=clang++
export CC=/mingw64/bin/clang.exe
export CXX=/mingw64/bin/clang++.exe
export LD=/mingw64/bin/lld.exe
fi

mkdir -p build
Expand Down
5 changes: 3 additions & 2 deletions .github/scripts/install-libsecp256k1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ unzip "$gitRef.zip"
cd "secp256k1-$gitRef"

if [ "$HOST_OS" = "Windows" ]; then
export CC=clang
export CXX=clang++
export CC=/mingw64/bin/clang.exe
export CXX=/mingw64/bin/clang++.exe
export LD=/mingw64/bin/lld.exe
fi

./autogen.sh
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:
pacboy: >-
cmake:p
ninja:p
gcc:p
clang:p
lld:p
autotools:p
gmp:p
openssl:p
Expand Down

0 comments on commit 2dd1842

Please sign in to comment.