File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : libdispatch
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+
7
+ jobs :
8
+ mingw :
9
+ runs-on : windows-2022
10
+ strategy :
11
+ fail-fast : false
12
+ matrix :
13
+ include :
14
+ - { msystem: MINGW64, arch: x86_64 }
15
+ - { msystem: UCRT64, arch: ucrt-x86_64 }
16
+ - { msystem: CLANG64, arch: clang-x86_64 }
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ - name : Set up MSYS2
20
+ uses : msys2/setup-msys2@v2
21
+ with :
22
+ msystem : ${{ matrix.msystem }}
23
+ install : >
24
+ mingw-w64-${{matrix.arch}}-cmake
25
+ mingw-w64-${{matrix.arch}}-clang
26
+ mingw-w64-${{matrix.arch}}-lld
27
+ - name : Build
28
+ shell : msys2 {0}
29
+ run : |
30
+ mkdir build
31
+ cd build
32
+ LDFLAGS="-fuse-ld=lld" cmake .. -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++"
33
+ cmake --build .
You can’t perform that action at this time.
0 commit comments