Skip to content

Commit dd57aae

Browse files
committed
fix: cmake cursed flags
1 parent 4505749 commit dd57aae

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

‎.github/workflows/build_binary.yml‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ jobs:
7171

7272
- name: 'Configure native metadata context'
7373
run: |
74-
cmake -S . --build "build/ffi/${{ matrix.arch }}" \
74+
cmake -S . \
75+
-B "build/ffi/${{ matrix.arch }}" \
7576
-G Ninja \
7677
-DCMAKE_BUILD_TYPE=Release \
7778
-DCMAKE_C_COMPILER=gcc-14 \
@@ -116,7 +117,8 @@ jobs:
116117
117118
- name: 'Configure package context'
118119
run: |
119-
cmake -S . -B build/package \
120+
cmake -S . \
121+
-B build/package \
120122
-G Ninja \
121123
-DCMAKE_BUILD_TYPE=Release \
122124
-DCMAKE_C_COMPILER=gcc-14 \
@@ -178,7 +180,8 @@ jobs:
178180

179181
- name: 'Configure portable release'
180182
run: |
181-
cmake -S . --build build \
183+
cmake -S . \
184+
-B build \
182185
-G "Unix Makefiles" \
183186
-DCMAKE_BUILD_TYPE=Release \
184187
-DCMAKE_C_COMPILER=gcc \
@@ -206,14 +209,14 @@ jobs:
206209
207210
- name: 'Upload test report'
208211
if: always()
209-
uses: actions/upload-artifact@v4
212+
uses: actions/upload-artifact@v7
210213
with:
211214
if-no-files-found: warn
212215
name: test-report-${{ matrix.target }}
213216
path: build/test-report.xml
214217

215218
- name: 'Upload binary'
216-
uses: actions/upload-artifact@v4
219+
uses: actions/upload-artifact@v7
217220
with:
218221
if-no-files-found: error
219222
name: libcpp_bindings_linux-${{ matrix.target }}

0 commit comments

Comments
 (0)