Files
RedBear-OS/.gitlab-ci.yml
T
Wildan Mubarok 1ff46c8482 Fix Linter CI
2025-08-04 06:34:31 -06:00

31 lines
578 B
YAML

image: "redoxos/redoxer:latest"
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- host
- build
- test
# TODO: benchmarks and profiling (maybe manually enabled for relevant MRs)?
build:
stage: build
script:
- mkdir -p target/${ARCH}
- TARGET=${ARCH}-unknown-redox redoxer env make BUILD=target/${ARCH}
parallel:
matrix:
- ARCH: [x86_64, i686, aarch64, riscv64gc]
fmt:
stage: host
script:
- rustup component add rustfmt
- rustfmt --check
unit_test:
stage: test
script:
- TARGET=x86_64-unknown-redox redoxer test