From cf344a4c2864bba511e089e910043ccc6f9fcc63 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Mon, 1 Mar 2021 13:56:26 -0500 Subject: [PATCH] Trying another script. --- .github/workflows/vs16-ci.yml | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/workflows/vs16-ci.yml b/.github/workflows/vs16-ci.yml index 7d79ede..f3d7cd8 100644 --- a/.github/workflows/vs16-ci.yml +++ b/.github/workflows/vs16-ci.yml @@ -15,20 +15,13 @@ jobs: steps: - name: checkout uses: actions/checkout@v2 - - name: Configure + - name: Use cmake run: | - mkdir build - cd build && cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_TEST=ON .. - - name: Build - run: cmake --build build --config Release --parallel - - name: Run tests - run: | - cd build - ctest -C Release --output-on-failure - - name: Install - run: | - cmake --install build --config Release - - name: Test Installation - run: | - cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -B build_install_test tests/installation_tests/find - cmake --build build_install_test --config Release + mkdir build && + cd build && + cmake ${{matrix.cxx}} ${{matrix.arch}} -DFASTFLOAT_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=destination .. && + cmake --build . && + ctest --output-on-failure && + cmake --install . && + cd ../tests/installation_tests/find && + mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build . \ No newline at end of file