Skip to content

Commit 10d201c

Browse files
committed
[try without modding PATH]
1 parent 40bd1b5 commit 10d201c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/actions/1-setup/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ runs:
6060
mkdir clang
6161
tar -xf clang.tar.xz --strip 1 -C clang
6262
rm clang.tar.xz
63-
# prepend its bin/ dir to PATH for subsequent steps
64-
echo "$PWD/clang/bin" >> "$GITHUB_PATH"
6563
- name: 'Windows: Install clang v19.1.3 from GitHub'
6664
if: runner.os == 'Windows'
6765
shell: bash

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ jobs:
8585
os: macos-14
8686
arch: arm64
8787
extra_cmake_flags: >-
88-
-DCMAKE_C_COMPILER=clang
89-
-DCMAKE_CXX_COMPILER=clang++
88+
-DCMAKE_C_COMPILER=$PWD/../clang/bin/clang
89+
-DCMAKE_CXX_COMPILER=$PWD/../clang/bin/clang++
9090
-DD_COMPILER_FLAGS="-O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc-lto -L-exported_symbol '-L__*' -L-w"
9191
-DEXTRA_CXXFLAGS=-flto=full
9292
with_pgo: true

0 commit comments

Comments
 (0)