Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Use Clang for Linux N-API publishing

laurenspriem97429bcc6986
diff --git a/.github/workflows/photos-desktop-build.yml b/.github/workflows/photos-desktop-build.yml
index e63cf2a232..8723eea773 100644
--- a/.github/workflows/photos-desktop-build.yml
+++ b/.github/workflows/photos-desktop-build.yml
@@ -162,6 +162,9 @@ jobs:
if [ "${RUNNER_OS}" = "macOS" ]; then
export CSC_LINK="${MAC_OS_CERTIFICATE}"
export CSC_KEY_PASSWORD="${MAC_OS_CERTIFICATE_PASSWORD}"
+ elif [ "${RUNNER_OS}" = "Linux" ]; then
+ export TARGET_CC=clang
+ export TARGET_CXX=clang++
fi
platform=${{ startsWith(matrix.os, 'macos') && 'mac' || startsWith(matrix.os, 'windows') && 'windows' || 'linux' }}