storage: Tell people that big mdraids really should have a bitmap #10941
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: unit-tests | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-22.04 | |
permissions: {} | |
strategy: | |
matrix: | |
startarg: | |
- { make: 'check-memory', cc: 'clang', tag: 'i386' } | |
- { make: 'check-memory', cc: 'gcc', tag: 'latest' } | |
- { make: 'distcheck', cc: 'clang', tag: 'latest' } | |
- { make: 'distcheck', cc: 'gcc', tag: 'i386' } | |
- { make: 'pytest-cov', cc: 'gcc', tag: 'latest' } | |
- { make: 'check', cc: 'gcc', tag: 'latest' } | |
fail-fast: false | |
timeout-minutes: 60 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
with: | |
# need this to also fetch tags | |
fetch-depth: 0 | |
- name: Build unit test container if it changed | |
run: | | |
changes=$(git diff --name-only origin/${{ github.event.pull_request.base.ref }}..HEAD -- containers/unit-tests/) | |
if [ -n "${changes}" ]; then | |
case '${{ matrix.startarg.tag }}' in | |
i386) arch=i386;; | |
latest) arch=amd64;; | |
esac | |
containers/unit-tests/build $arch | |
fi | |
- name: Run unit-tests container | |
timeout-minutes: 30 | |
# HACK: -gdwarf-4 is for clang: https://bugs.kde.org/show_bug.cgi?id=452758 | |
run: | | |
containers/unit-tests/start \ | |
--verbose \ | |
--env=FORCE_COLOR=1 \ | |
--env=CC='${{ matrix.startarg.cc }}' \ | |
--env=CFLAGS='-O2 -gdwarf-4' \ | |
--image-tag='${{ matrix.startarg.tag }}' \ | |
--make '${{ matrix.startarg.make }}' |