b9874d0941
Add redbear-usb-storage-check in-guest binary that validates USB mass storage read and write I/O: discovers /scheme/disk/ devices, writes a test pattern to sector 2048, reads it back, verifies match, restores original content. Updates test-usb-storage-qemu.sh with write-proof verification step. Includes all accumulated Red Bear OS work: kernel patches, relibc patches, driver infrastructure, DRM/GPU, KDE recipes, firmware, validation tooling, build system hardening, and documentation.
74 lines
1.5 KiB
YAML
74 lines
1.5 KiB
YAML
image: "redoxos/redoxer:latest"
|
|
|
|
variables:
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
|
|
workflow:
|
|
rules:
|
|
- if: '$CI_COMMIT_BRANCH == "master" && $CI_PROJECT_NAMESPACE == "redox-os"'
|
|
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
|
|
|
|
stages:
|
|
- build
|
|
- cross-build
|
|
- test
|
|
before_script:
|
|
cargo install cbindgen
|
|
|
|
fmt:
|
|
stage: build
|
|
needs: []
|
|
script:
|
|
- rustup component add rustfmt-preview
|
|
- ./fmt.sh -- --check
|
|
|
|
linux:
|
|
stage: build
|
|
script:
|
|
- ./check.sh --host
|
|
|
|
x86_64:
|
|
stage: build
|
|
script:
|
|
- ./check.sh --arch=x86_64
|
|
|
|
i586:
|
|
stage: cross-build
|
|
script:
|
|
- ./check.sh --arch=i586
|
|
|
|
aarch64:
|
|
stage: cross-build
|
|
image: "redoxos/redoxer:aarch64"
|
|
script:
|
|
- ./check.sh --arch=aarch64
|
|
|
|
riscv64gc:
|
|
stage: cross-build
|
|
script:
|
|
- ./check.sh --arch=riscv64gc
|
|
|
|
test:linux:
|
|
stage: test
|
|
needs: [linux]
|
|
script:
|
|
- ./check.sh --host --test
|
|
|
|
test:x86_64:
|
|
stage: test
|
|
needs: [x86_64]
|
|
script:
|
|
# timeout: https://gitlab.redox-os.org/redox-os/relibc/-/issues/238
|
|
- timeout -s KILL 9m ./check.sh --arch=x86_64 --test
|
|
|
|
test:aarch64:
|
|
stage: test
|
|
needs: [aarch64]
|
|
image: "redoxos/redoxer:aarch64"
|
|
# many issues that not exist in x86_64, and lack of interest to fix so far
|
|
allow_failure: true
|
|
script:
|
|
- timeout -s KILL 9m ./check.sh --arch=aarch64 --test
|
|
|
|
#TODO: Enable more arch once dynamic linker working
|