From d894192a1ab35f92bbc68b36b06dedd2f0ec9262 Mon Sep 17 00:00:00 2001 From: Tristan Carel Date: Wed, 20 Jul 2022 08:31:20 +0200 Subject: [PATCH] CI: set SDKROOT on macOS builder --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f17b71..bea3553 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,6 +65,10 @@ jobs: if: runner.os == 'Windows' && ((!matrix.use_qemu) || fromJSON(env.USE_QEMU)) run: git config --system core.longpaths true + - name: Export macOS SDKROOT + if: runner.os == 'macOS' + run: echo SDKROOT=$(xcrun --sdk macosx --show-sdk-path) >> $GITHUB_ENV + - name: Override LLVM version (${{ github.event.inputs.llvm_version }}) if: github.event.inputs.llvm_version run: |