fix(ci): remove unnecessary build configuration flag in CI and release workflows

- Simplified CMake build commands in CI and release workflows by removing the redundant `--config ${{ env.BUILD_TYPE }}` flag.
- Updated test commands to eliminate the build configuration flag, streamlining the testing process.

Benefits:
- Enhances clarity and reduces potential confusion in build and test commands, improving overall workflow efficiency.
This commit is contained in:
scawful
2025-10-12 17:39:40 -04:00
parent 3fbf316dba
commit bdb2d1ed14
2 changed files with 4 additions and 4 deletions

View File

@@ -302,7 +302,7 @@ jobs:
CORES=2
fi
echo "Using $CORES parallel jobs"
cmake --build build --config ${{ env.BUILD_TYPE }} --parallel $CORES 2>&1 | tee build.log
cmake --build build --parallel $CORES 2>&1 | tee build.log
- name: Report Build Failure
if: failure() && steps.build.outcome == 'failure'
@@ -396,7 +396,7 @@ jobs:
working-directory: build
run: |
echo "Running stable test suite..."
ctest --build-config ${{ env.BUILD_TYPE }} --output-on-failure -j1 \
ctest --output-on-failure -j1 \
-L "stable" \
--output-junit stable_test_results.xml 2>&1 | tee ../stable_test.log || true
@@ -406,7 +406,7 @@ jobs:
continue-on-error: true
run: |
echo "Running experimental test suite (informational only)..."
ctest --build-config ${{ env.BUILD_TYPE }} --output-on-failure --parallel \
ctest --output-on-failure --parallel \
-L "experimental" \
--output-junit experimental_test_results.xml 2>&1 | tee ../experimental_test.log

View File

@@ -326,7 +326,7 @@ jobs:
CORES=2
fi
echo "Using $CORES parallel jobs"
cmake --build build --config ${{ env.BUILD_TYPE }} --parallel $CORES 2>&1 | tee build.log
cmake --build build --parallel $CORES 2>&1 | tee build.log
- name: "Report Build Failure"
if: failure() && steps.build.outcome == 'failure'