File tree Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,13 @@ jobs:
15
15
steps :
16
16
- name : checkout
17
17
uses : actions/checkout@v2
18
- - name : Configure
18
+ - name : Use cmake
19
19
run : |
20
- mkdir build
21
- cd build && cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_TEST=ON ..
22
- - name : Build
23
- run : cmake --build build --config Release --parallel
24
- - name : Run tests
25
- run : |
26
- cd build
27
- ctest -C Release --output-on-failure
28
- - name : Install
29
- run : |
30
- cmake --install build --config Release
31
- - name : Test Installation
32
- run : |
33
- cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -B build_install_test tests/installation_tests/find
34
- cmake --build build_install_test --config Release
20
+ mkdir build &&
21
+ cd build &&
22
+ cmake ${{matrix.cxx}} ${{matrix.arch}} -DFASTFLOAT_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=destination .. &&
23
+ cmake --build . &&
24
+ ctest --output-on-failure &&
25
+ cmake --install . &&
26
+ cd ../tests/installation_tests/find &&
27
+ mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build .
You can’t perform that action at this time.
0 commit comments