File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,16 +3,46 @@ on: [push, pull_request]
33concurrency :
44 group : ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
55 cancel-in-progress : true
6+
67jobs :
7- build :
8+ build-unix :
9+ name : ' Unix C++${{ matrix.cxx-version }}'
810 runs-on : ubuntu-latest
911 strategy :
1012 matrix :
1113 cxx-version : [14, 17, 20]
1214 steps :
1315 - uses : actions/checkout@v6
1416 - name : Setup
15- run : cmake -B _build -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=${{matrix.cxx-version}}
17+ run : cmake -B build/ -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=${{matrix.cxx-version}}
18+ - name : Build
19+ run : cmake --build build/
20+ - name : Test
21+ run : ./build/test/test_xsimd
22+
23+ build-msvc :
24+ name : ' MSVC C++${{ matrix.cxx-version }}'
25+ defaults :
26+ run :
27+ shell : bash {0}
28+ runs-on : windows-2022
29+ strategy :
30+ matrix :
31+ cxx-version : [14, 17, 20]
32+ steps :
33+ - name : Setup compiler
34+ uses : ilammy/msvc-dev-cmd@v1
35+ with :
36+ arch : amd64
37+ - name : Setup Ninja
38+ run : |
39+ python3 -m pip install --upgrade pip setuptools wheel
40+ python3 -m pip install ninja
41+ - uses : actions/checkout@v6
42+ - name : Setup
43+ run : cmake -B build/ -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=${{matrix.cxx-version}} -G Ninja
1644 - name : Build
17- run : cmake --build _build
45+ run : cmake --build build/
46+ - name : Test
47+ run : ./build/test/test_xsimd
1848
You can’t perform that action at this time.
0 commit comments