Skip to content

Commit 58d425a

Browse files
committed
more syntax
1 parent bee73ee commit 58d425a

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/cmake-find-windows.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ jobs:
3737
3838
- name: Configure CMake HiGHS
3939
working-directory: ${{runner.workspace}}\\build-highs-${{matrix.branch}}
40-
shell: bash
41-
run: |
42-
cmake ${{runner.workspace}}\\highs-tests\\HiGHS-${{matrix.branch}} \
40+
run: >
41+
cmake ${{runner.workspace}}\\highs-tests\\HiGHS-${{matrix.branch}}
4342
-DCMAKE_INSTALL_PREFIX=${{runner.workspace}}\\install-highs-${{matrix.branch}}
4443
4544
- name: Build, ctest and install HiGHS
@@ -49,13 +48,16 @@ jobs:
4948
ctest -C Release
5049
cmake --install .
5150
52-
- name: Build CMakeFindHighsPackage
51+
- name: Configure CMakeFindHighsPackage
52+
working-directory: ${{runner.workspace}}\\build-find-highs-${{matrix.branch}}
53+
run: >
54+
cmake ${{runner.workspace}}\\highs-tests\\CMakeHighsFindPackage-master-${{matrix.branch}}
55+
-DHIGHS_DIR=${{runner.workspace}}\\install-highs-${{matrix.branch}}\\lib\\cmake\\highs
56+
-DCMAKE_INSTALL_PREFIX=${{runner.workspace}}\\install-find-highs-${{matrix.branch}}
57+
58+
- name: Build and install CMakeFindHighsPackage
5359
working-directory: ${{runner.workspace}}\\build-find-highs-${{matrix.branch}}
54-
shell: bash
5560
run: |
56-
cmake ${{runner.workspace}}\\highs-tests\\CMakeHighsFindPackage-master-${{matrix.branch}} \
57-
-DHIGHS_DIR=${{runner.workspace}}/install-highs-${{matrix.branch}}/lib/cmake/highs \
58-
-DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/install-find-highs-${{matrix.branch}}
5961
cmake --build . --parallel --config Release
6062
cmake --install .
6163

0 commit comments

Comments
 (0)