A fast, helpful, and open-source document parser
fix: explicit c++ compiler for alpine
Clelia (Astra) Bertelli67faa2bcd033
diff --git a/.github/workflows/ci-node.yml b/.github/workflows/ci-node.ymlindex 14e7970..97715ae 100644--- a/.github/workflows/ci-node.yml+++ b/.github/workflows/ci-node.yml@@ -118,6 +118,10 @@ jobs:# so disable crt-static for the final link. Build scripts still link static# against openssl/zlib via the static libs above.export RUSTFLAGS="-C target-feature=-crt-static"+ # tesseract-rs CMake project hard-codes clang++ as the default CXX; alpine+ # ships gcc/g++ via build-base, so point CMake at those explicitly.+ export CC=gcc CXX=g+++ export CMAKE_C_COMPILER=gcc CMAKE_CXX_COMPILER=g++npx napi build --cargo-cwd ../../crates/liteparse-napi --platform --release --js false --dts native.d.ts --target x86_64-unknown-linux-musl .'diff --git a/.github/workflows/release-node.yml b/.github/workflows/release-node.ymlindex e64a8f9..2fb891c 100644--- a/.github/workflows/release-node.yml+++ b/.github/workflows/release-node.yml@@ -139,6 +139,10 @@ jobs:# so disable crt-static for the final link. Build scripts still link static# against openssl/zlib via the static libs above.export RUSTFLAGS="-C target-feature=-crt-static"+ # tesseract-rs CMake project hard-codes clang++ as the default CXX; alpine+ # ships gcc/g++ via build-base, so point CMake at those explicitly.+ export CC=gcc CXX=g+++ export CMAKE_C_COMPILER=gcc CMAKE_CXX_COMPILER=g++npx napi build --cargo-cwd ../../crates/liteparse-napi --platform --release --js false --dts native.d.ts --target x86_64-unknown-linux-musl .'