Skip to content

Commit cf344a4

Browse files
committed
Trying another script.
1 parent 61f09fb commit cf344a4

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

.github/workflows/vs16-ci.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,13 @@ jobs:
1515
steps:
1616
- name: checkout
1717
uses: actions/checkout@v2
18-
- name: Configure
18+
- name: Use cmake
1919
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 .

0 commit comments

Comments
 (0)