Skip to content

Commit 22d3089

Browse files
committed
Try solution
1 parent 549e1cf commit 22d3089

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,14 @@ jobs:
4545
brew install coreutils
4646
brew install llvm@16
4747
48-
- if: "'macos-14' == matrix.os"
49-
name: "Run unit tests"
50-
env:
51-
CC: "/opt/homebrew/opt/llvm@16/bin/clang"
52-
CXX: "/opt/homebrew/opt/llvm@16/bin/clang++"
53-
run: "task test-all"
54-
55-
- if: "false == ('macos-14' == matrix.os)"
56-
name: "Run unit tests"
48+
- name: "Run unit tests"
49+
env: >-
50+
${{
51+
'macos-14' == matrix.os
52+
&& fromJson('{
53+
"CC": "/opt/homebrew/opt/llvm@16/bin/clang",
54+
"CXX": "/opt/homebrew/opt/llvm@16/bin/clang++"
55+
}')
56+
|| fromJson('{}')
57+
}}
5758
run: "task test-all"

0 commit comments

Comments
 (0)