File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ permissions:
2929 contents : read
3030
3131jobs :
32- build :
32+ buildgcc :
3333 runs-on : ubuntu-latest
3434
3535 strategy :
6262 - name : ' Build'
6363 working-directory : ${{ github.workspace }}/Tests
6464 run : cmake --build out/build/${{ matrix.build_type }}
65+
66+ buildclang :
67+ runs-on : ubuntu-latest
68+
69+ strategy :
70+ fail-fast : false
71+
72+ matrix :
73+ build_type : [x64-Debug-Linux, x64-Release-Linux]
74+ clang : [16, 17, 18]
75+
76+ steps :
77+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
78+
79+ - name : Clone test repository
80+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
81+ with :
82+ repository : walbourn/directxmathtest
83+ path : Tests
84+ ref : main
85+
86+ - uses : seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6
87+
88+ - name : ' Configure CMake'
89+ working-directory : ${{ github.workspace }}/Tests
90+ run : cmake --preset=${{ matrix.build_type }}
91+ env :
92+ CC : clang-${{ matrix.clang }}
93+ CXX : clang++-${{ matrix.clang }}
94+
95+ - name : ' Build'
96+ working-directory : ${{ github.workspace }}/Tests
97+ run : cmake --build out/build/${{ matrix.build_type }}
You can’t perform that action at this time.
0 commit comments