File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818jobs :
1919
20- test_win :
21- runs-on : windows-latest
22- defaults :
23- run :
24- shell : msys2 {0}
25-
26- steps :
27- - uses : actions/checkout@v3
28- with :
29- submodules : recursive
30-
31- - name : MSYS2 Setup
32- uses : msys2/setup-msys2@v2
33- with :
34- msystem : MINGW64
35- update : false
36- install : mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-python mingw-w64-x86_64-ninja mingw-w64-x86_64-lld
37-
38- - name : Configure CMake
39- working-directory : ${{github.workspace}}
40- run : cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_FLAGS="-fuse-ld=lld" -DRUN_TESTS=ON
41-
42- - name : Build
43- working-directory : ${{github.workspace}}
44- run : cmake --build build --config ${{env.BUILD_TYPE}} -j 2
45-
46- - name : Run Examples
47- working-directory : ${{github.workspace}}/build/examples
48- run : python3 run_all_examples.py
49-
50- - name : Run Tests
51- working-directory : ${{github.workspace}}/build
52- run : ctest -V
53-
5420 test_mac :
5521 runs-on : macos-latest
5622
You can’t perform that action at this time.
0 commit comments