Skip to content

Commit c52e7ec

Browse files
authored
Set cflags matrix variable properly (#832)
The variable had been erroneously names ccflags.
1 parent c89442d commit c52e7ec

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -305,15 +305,15 @@ jobs:
305305
"arch": "amd64",
306306
"os": "Windows",
307307
"cc": "cl",
308-
"ccflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
308+
"cflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
309309
"cxx": "cl",
310310
"cxxflags": "${{ steps.context.outputs.WINDOWS_CMAKE_CXX_FLAGS }}"
311311
},
312312
{
313313
"arch": "arm64",
314314
"os": "Windows",
315315
"cc": "cl",
316-
"ccflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
316+
"cflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
317317
"cxx": "cl",
318318
"cxxflags": "${{ steps.context.outputs.WINDOWS_CMAKE_CXX_FLAGS }}"
319319
}
@@ -326,7 +326,7 @@ jobs:
326326
"arch": "amd64",
327327
"os": "Windows",
328328
"cc": "cl",
329-
"ccflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
329+
"cflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
330330
"cxx": "cl",
331331
"cxxflags": "${{ steps.context.outputs.WINDOWS_CMAKE_CXX_FLAGS }}"
332332
}
@@ -339,7 +339,7 @@ jobs:
339339
"arch": "amd64",
340340
"os": "Windows",
341341
"cc": "cl",
342-
"ccflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
342+
"cflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
343343
"cxx": "cl",
344344
"cxxflags": "${{ steps.context.outputs.WINDOWS_CMAKE_CXX_FLAGS }}",
345345
"extra_flags": ""
@@ -348,7 +348,7 @@ jobs:
348348
"arch": "arm64",
349349
"os": "Windows",
350350
"cc": "cl",
351-
"ccflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
351+
"cflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
352352
"cxx": "cl",
353353
"cxxflags": "${{ steps.context.outputs.WINDOWS_CMAKE_CXX_FLAGS }}",
354354
"extra_flags": ""
@@ -357,7 +357,7 @@ jobs:
357357
"arch": "x86",
358358
"os": "Windows",
359359
"cc": "cl",
360-
"ccflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
360+
"cflags": "${{ steps.context.outputs.WINDOWS_CMAKE_C_FLAGS }}",
361361
"cxx": "cl",
362362
"cxxflags": "${{ steps.context.outputs.WINDOWS_CMAKE_CXX_FLAGS }}",
363363
"extra_flags": ""
@@ -366,7 +366,7 @@ jobs:
366366
"arch": "arm64",
367367
"os": "Android",
368368
"cc": "clang",
369-
"ccflags": "${{ steps.context.outputs.ANDROID_CMAKE_C_FLAGS }}",
369+
"cflags": "${{ steps.context.outputs.ANDROID_CMAKE_C_FLAGS }}",
370370
"cxx": "clang++",
371371
"cxxflags": "${{ steps.context.outputs.ANDROID_CMAKE_CXX_FLAGS }}",
372372
"extra_flags": "-DCMAKE_ANDROID_API=${{ inputs.ANDROID_API_LEVEL }} -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a"
@@ -375,7 +375,7 @@ jobs:
375375
"arch": "armv7",
376376
"os": "Android",
377377
"cc": "clang",
378-
"ccflags": "${{ steps.context.outputs.ANDROID_CMAKE_C_FLAGS }}",
378+
"cflags": "${{ steps.context.outputs.ANDROID_CMAKE_C_FLAGS }}",
379379
"cxx": "clang++",
380380
"cxxflags": "${{ steps.context.outputs.ANDROID_CMAKE_CXX_FLAGS }}",
381381
"extra_flags": "-DCMAKE_ANDROID_API=${{ inputs.ANDROID_API_LEVEL }} -DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a"
@@ -384,7 +384,7 @@ jobs:
384384
"arch": "i686",
385385
"os": "Android",
386386
"cc": "clang",
387-
"ccflags": "${{ steps.context.outputs.ANDROID_CMAKE_C_FLAGS }}",
387+
"cflags": "${{ steps.context.outputs.ANDROID_CMAKE_C_FLAGS }}",
388388
"cxx": "clang++",
389389
"cxxflags": "${{ steps.context.outputs.ANDROID_CMAKE_CXX_FLAGS }}",
390390
"extra_flags": "-DCMAKE_ANDROID_API=${{ inputs.ANDROID_API_LEVEL }} -DCMAKE_ANDROID_ARCH_ABI=x86"
@@ -393,7 +393,7 @@ jobs:
393393
"arch": "x86_64",
394394
"os": "Android",
395395
"cc": "clang",
396-
"ccflags": "${{ steps.context.outputs.ANDROID_CMAKE_C_FLAGS }}",
396+
"cflags": "${{ steps.context.outputs.ANDROID_CMAKE_C_FLAGS }}",
397397
"cxx": "clang++",
398398
"cxxflags": "${{ steps.context.outputs.ANDROID_CMAKE_CXX_FLAGS }}",
399399
"extra_flags": "-DCMAKE_ANDROID_API=${{ inputs.ANDROID_API_LEVEL }} -DCMAKE_ANDROID_ARCH_ABI=x86_64"
@@ -407,15 +407,15 @@ jobs:
407407
"arch": "x86_64",
408408
"os": "Darwin",
409409
"cc": "clang",
410-
"ccflags": "${{ steps.context.outputs.DARWIN_CMAKE_C_FLAGS }}",
410+
"cflags": "${{ steps.context.outputs.DARWIN_CMAKE_C_FLAGS }}",
411411
"cxx": "clang++",
412412
"cxxflags": "${{ steps.context.outputs.DARWIN_CMAKE_CXX_FLAGS }}"
413413
},
414414
{
415415
"arch": "aarch64",
416416
"os": "Darwin",
417417
"cc": "clang",
418-
"ccflags": "${{ steps.context.outputs.DARWIN_CMAKE_C_FLAGS }}",
418+
"cflags": "${{ steps.context.outputs.DARWIN_CMAKE_C_FLAGS }}",
419419
"cxx": "clang++",
420420
"cxxflags": "${{ steps.context.outputs.DARWIN_CMAKE_CXX_FLAGS }}"
421421
}
@@ -428,7 +428,7 @@ jobs:
428428
"arch": "aarch64",
429429
"os": "Darwin",
430430
"cc": "clang",
431-
"ccflags": "${{ steps.context.outputs.DARWIN_CMAKE_C_FLAGS }}",
431+
"cflags": "${{ steps.context.outputs.DARWIN_CMAKE_C_FLAGS }}",
432432
"cxx": "clang++",
433433
"cxxflags": "${{ steps.context.outputs.DARWIN_CMAKE_CXX_FLAGS }}"
434434
}
@@ -441,7 +441,7 @@ jobs:
441441
"arch": "x86_64",
442442
"os": "Darwin",
443443
"cc": "clang",
444-
"ccflags": "${{ steps.context.outputs.DARWIN_CMAKE_C_FLAGS }}",
444+
"cflags": "${{ steps.context.outputs.DARWIN_CMAKE_C_FLAGS }}",
445445
"cxx": "clang++",
446446
"cxxflags": "${{ steps.context.outputs.DARWIN_CMAKE_CXX_FLAGS }}",
447447
"extra_flags": ""
@@ -450,7 +450,7 @@ jobs:
450450
"arch": "aarch64",
451451
"os": "Darwin",
452452
"cc": "clang",
453-
"ccflags": "${{ steps.context.outputs.DARWIN_CMAKE_C_FLAGS }}",
453+
"cflags": "${{ steps.context.outputs.DARWIN_CMAKE_C_FLAGS }}",
454454
"cxx": "clang++",
455455
"cxxflags": "${{ steps.context.outputs.DARWIN_CMAKE_CXX_FLAGS }}",
456456
"extra_flags": ""

0 commit comments

Comments
 (0)