Skip to content

Commit 48c8296

Browse files
committed
zusammen mit Cody verbessert
1 parent a77307a commit 48c8296

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/testMacOS.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ jobs:
3131
- name: Add Homebrew to PATH
3232
run: echo "/opt/homebrew/bin" >> $GITHUB_PATH
3333

34-
- name: Install Xcode Command Line Tools
35-
run: |
36-
sudo xcode-select --install || true
37-
sudo xcode-select -s /Library/Developer/CommandLineTools
38-
export LD=$(xcrun --find ld)
39-
export PATH="/Library/Developer/CommandLineTools/usr/bin:$PATH"
34+
- name: Set Xcode toolchain as default
35+
run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
36+
37+
- name: Ensure system linker is used
38+
run: echo "LD=/usr/bin/ld" >> $GITHUB_ENV
4039

4140
- name: Configure Homebrew clang (symlink for easier access)
4241
run: |
@@ -49,6 +48,7 @@ jobs:
4948
CC: "/opt/homebrew/opt/llvm/bin/clang"
5049
CXX: "/opt/homebrew/opt/llvm/bin/clang++"
5150
PATH: "/opt/homebrew/opt/llvm/bin:$PATH"
51+
LD: "/usr/bin/ld"
5252
run: |
5353
cmake -B build \
5454
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
@@ -79,4 +79,4 @@ jobs:
7979
uses: actions/upload-artifact@v4
8080
with:
8181
name: RAYX-macOS-${{env.BUILD_TYPE}}
82-
path: ${{github.workspace}}/build/bin/release
82+
path: ${{github.workspace}}/build/bin/release

0 commit comments

Comments
 (0)