File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ name : macOS Clang Issue
2+ on : [push, workflow_dispatch]
3+ jobs :
4+ test :
5+ strategy :
6+ fail-fast : false
7+ matrix :
8+ os : ['macos-10.15', 'macos-11']
9+ runs-on : ${{matrix.os}}
10+ name : Test ${{matrix.os}}
11+ steps :
12+ - name : Create test file
13+ run : |
14+ echo "#include <cmath>" > test.cpp
15+ echo "int main() { return (int)INFINITY; }" >> test.cpp
16+ - name : Print environment info
17+ if : always()
18+ run : |
19+ echo "========== SDK Path"
20+ xcrun --show-sdk-path
21+ echo "========== Selected Xcode Path"
22+ xcode-select --print-path
23+ - name : Build using macOS Clang
24+ if : always()
25+ run : |
26+ which clang
27+ clang -v test.cpp
28+ - name : Build using Homebrew Clang
29+ if : always()
30+ run : |
31+ PATH="$(brew --prefix llvm)/bin:$PATH"
32+ which clang
33+ clang -v test.cpp
Original file line number Diff line number Diff line change 11name : Matrix Optional Test
2- on : [push, workflow_dispatch]
2+ on : [workflow_dispatch]
33jobs :
44 test :
55 strategy :
You can’t perform that action at this time.
0 commit comments