This commit is contained in:
ConfiG 2024-06-28 13:40:30 +03:00 committed by GitHub
parent 48bd891398
commit 432fef707b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -148,8 +148,7 @@ jobs:
id: build-debug-info id: build-debug-info
uses: ./.github/actions/build-debug-info uses: ./.github/actions/build-debug-info
with: with:
has-sccache: ${{ inputs.use-ccache }} has-sccache: true
if: true
- name: Setup caches - name: Setup caches
uses: ./.github/actions/setup-cache uses: ./.github/actions/setup-cache
@ -177,13 +176,13 @@ jobs:
-DCMAKE_C_COMPILER=clang -DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_COMPILER=clang++
-DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13"
-DCMAKE_AR='/usr/bin/ar'
-DCMAKE_RANLIB='/usr/bin/ranlib'
-DGEODE_DISABLE_PRECOMPILED_HEADERS=Off -DGEODE_DISABLE_PRECOMPILED_HEADERS=Off
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
${{ steps.build-debug-info.outputs.extra-configure }} ${{ steps.build-debug-info.outputs.extra-configure }}
env: env:
MACOSX_DEPLOYMENT_TARGET: "10.13" MACOSX_DEPLOYMENT_TARGET: "10.13"
CPPFLAGS: "-I/opt/homebrew/opt/llvm/include"
LDFLAGS: "-L/opt/homebrew/opt/llvm/lib -Wl,-rpath,/opt/homebrew/opt/llvm/lib"
- name: Build - name: Build
run: | run: |
@ -191,6 +190,8 @@ jobs:
${{ steps.build-debug-info.outputs.extra-build }} ${{ steps.build-debug-info.outputs.extra-build }}
env: env:
MACOSX_DEPLOYMENT_TARGET: "10.13" MACOSX_DEPLOYMENT_TARGET: "10.13"
CPPFLAGS: "-I/opt/homebrew/opt/llvm/include"
LDFLAGS: "-L/opt/homebrew/opt/llvm/lib -Wl,-rpath,/opt/homebrew/opt/llvm/lib"
- name: Upload Artifacts - name: Upload Artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4