do non-minimal cmake configuration for ci.yml
This commit is contained in:
parent
608e6d0625
commit
f0bab33d27
|
@ -65,7 +65,7 @@ jobs:
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
path: |
|
path: |
|
||||||
*.log
|
*.log
|
||||||
test-cmake-minimal:
|
test-cmake:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, ubuntu-latest]
|
os: [macos-latest, ubuntu-latest]
|
||||||
|
@ -82,11 +82,11 @@ jobs:
|
||||||
- name: Add ccache to PATH
|
- name: Add ccache to PATH
|
||||||
run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
|
run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
|
||||||
- name: cmake setup
|
- name: cmake setup
|
||||||
run: cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -G Ninja -DGPERFTOOLS_BUILD_HEAP_PROFILER=OFF -Dgperftools_build_minimal=ON -S . -B build
|
run: cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -G Ninja -S . -B build
|
||||||
- name: cmake build
|
- name: cmake build
|
||||||
run: ninja -C build -v
|
run: ninja -C build -v
|
||||||
- name: test
|
- name: test
|
||||||
run: ctest -j12 --test-dir build
|
run: ctest -j12 --test-dir build || ctest -j12 --test-dir build --rerun-failed
|
||||||
- name: Upload Test Logs
|
- name: Upload Test Logs
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
Loading…
Reference in New Issue