File tree Expand file tree Collapse file tree 2 files changed +48
-2
lines changed
Expand file tree Collapse file tree 2 files changed +48
-2
lines changed Original file line number Diff line number Diff line change 1+ name : OSX build
2+ on : [push, pull_request]
3+ concurrency :
4+ group : ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
5+ cancel-in-progress : true
6+ defaults :
7+ run :
8+ shell : bash -e -l {0}
9+ jobs :
10+ build :
11+ runs-on : macos-${{ matrix.os }}
12+ name : macos-${{ matrix.os }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os :
17+ - 14
18+ - 15
19+
20+ steps :
21+
22+ - name : Checkout code
23+ uses : actions/checkout@v4
24+
25+ - name : Set conda environment
26+ uses : mamba-org/setup-micromamba@main
27+ with :
28+ environment-name : myenv
29+ environment-file : environment-dev.yml
30+ init-shell : bash
31+ cache-downloads : true
32+
33+ - name : Configure using CMake
34+ run : cmake -B build -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DBUILD_TESTS=ON
35+
36+ - name : Install
37+ working-directory : build
38+ run : cmake --install .
39+
40+ - name : Build
41+ working-directory : build
42+ run : cmake --build . --target test_xsimd_algorithm --parallel 8
43+
44+ - name : Run tests
45+ working-directory : build/test
46+ run : ./test_xsimd_algorithm
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ endif()
2323# =====
2424
2525set (XSIMDALGO_HEADERS
26- ${XSIMDALGO_INCLUDE_DIR} /xsimd_algo /algorithms.hpp
26+ ${XSIMDALGO_INCLUDE_DIR} /xsimd_algorithm /algorithms.hpp
2727)
2828
2929add_library (xsimd-algorithm INTERFACE )
@@ -56,7 +56,7 @@ install(TARGETS xsimd-algorithm
5656export (EXPORT ${PROJECT_NAME} -targets
5757 FILE "${CMAKE_CURRENT_BINARY_DIR} /${PROJECT_NAME} Targets.cmake" )
5858
59- install (DIRECTORY ${XSIMDALGO_INCLUDE_DIR} /xsimd_algo
59+ install (DIRECTORY ${XSIMDALGO_INCLUDE_DIR} /xsimd_algorithm
6060 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
6161
6262set (XSIMDALGO_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_DATADIR} /cmake/${PROJECT_NAME} " CACHE
You can’t perform that action at this time.
0 commit comments