Skip to content

Commit 5f25bee

Browse files
ChrisThrashereXpl0it3r
authored andcommitted
Improve readability of CI commands
1 parent eba1735 commit 5f25bee

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
@@ -55,7 +55,12 @@ jobs:
5555
path: SFML
5656

5757
- name: Configure SFML CMake
58-
run: cmake -S SFML -B SFML/build -DCMAKE_INSTALL_PREFIX=SFML/install ${{matrix.platform.flags}} ${{matrix.config.flags}} -DCMAKE_BUILD_TYPE=${{matrix.type.name}}
58+
run: |
59+
cmake -S SFML -B SFML/build \
60+
-DCMAKE_BUILD_TYPE=${{matrix.type.name}} \
61+
-DCMAKE_INSTALL_PREFIX=SFML/install \
62+
${{matrix.platform.flags}} \
63+
${{matrix.config.flags}}
5964
6065
- name: Build SFML
6166
run: cmake --build SFML/build --config ${{matrix.type.name}} --target install
@@ -66,7 +71,15 @@ jobs:
6671
path: CSFML
6772

6873
- name: Configure CSFML CMake
69-
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}}
74+
run: |
75+
cmake --preset dev -S CSFML -B CSFML/build \
76+
-DCMAKE_BUILD_TYPE=${{matrix.type.name}} \
77+
-DCMAKE_INSTALL_PREFIX=CSFML/install \
78+
-DSFML_ROOT=SFML/install \
79+
-DCMAKE_VERBOSE_MAKEFILE=ON \
80+
${{matrix.platform.flags}} \
81+
${{matrix.config.flags}} \
82+
${{matrix.config.csfml_flags}}
7083
7184
- name: Build CSFML
7285
run: cmake --build CSFML/build --config ${{matrix.type.name}} --target install

0 commit comments

Comments
 (0)