Skip to content

Commit 65f0fb7

Browse files
committed
Improve readability of CI commands
1 parent b607308 commit 65f0fb7

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ jobs:
5656
path: SFML
5757

5858
- name: Configure SFML CMake
59-
run: cmake -S SFML -B SFML/build -DCMAKE_INSTALL_PREFIX=SFML/install ${{matrix.platform.flags}} ${{matrix.config.flags}} -DCMAKE_BUILD_TYPE=${{matrix.type.name}}
59+
run: |
60+
cmake -S SFML -B SFML/build \
61+
-DCMAKE_BUILD_TYPE=${{matrix.type.name}} \
62+
-DCMAKE_INSTALL_PREFIX=SFML/install \
63+
${{matrix.platform.flags}} \
64+
${{matrix.config.flags}}
6065
6166
- name: Build SFML
6267
run: cmake --build SFML/build --config ${{matrix.type.name}} --target install
@@ -67,7 +72,15 @@ jobs:
6772
path: CSFML
6873

6974
- name: Configure CSFML CMake
70-
run: cmake --preset dev -S CSFML -B CSFML/build -DCMAKE_INSTALL_PREFIX=CSFML/install -DSFML_ROOT=SFML/install -DCMAKE_VERBOSE_MAKEFILE=ON ${{matrix.platform.flags}} ${{matrix.config.flags}} ${{matrix.config.csfml_flags}} -DCMAKE_BUILD_TYPE=${{matrix.type.name}}
75+
run: |
76+
cmake --preset dev -S CSFML -B CSFML/build \
77+
-DCMAKE_BUILD_TYPE=${{matrix.type.name}} \
78+
-DCMAKE_INSTALL_PREFIX=CSFML/install \
79+
-DSFML_ROOT=SFML/install \
80+
-DCMAKE_VERBOSE_MAKEFILE=ON \
81+
${{matrix.platform.flags}} \
82+
${{matrix.config.flags}} \
83+
${{matrix.config.csfml_flags}}
7184
7285
- name: Build CSFML
7386
run: cmake --build CSFML/build --config ${{matrix.type.name}} --target install

0 commit comments

Comments
 (0)