.gitlab-ci.yml 579 B

123456789101112131415161718192021222324252627
  1. image: "rust:latest"
  2. before_script:
  3. - git submodule update --init --recursive
  4. - rustup toolchain add nightly
  5. - rustup target add x86_64-unknown-redox --toolchain nightly
  6. - rustup show # Print version info for debugging
  7. build:linux:
  8. script:
  9. - make all
  10. #build:redox:
  11. # script:
  12. # - make all
  13. test:linux:
  14. script:
  15. - make test
  16. fmt:
  17. script:
  18. - rustup component add rustfmt-preview
  19. - ./fmt.sh -- --check
  20. # TODO: Set up a docker image with a redox vm that would allow to
  21. # run things like tests under redox