rust.yml 539 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: Rust
  2. on:
  3. push:
  4. branches: [ "master" ]
  5. pull_request:
  6. branches: [ "master" ]
  7. env:
  8. CARGO_TERM_COLOR: always
  9. jobs:
  10. build-linux:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v3
  14. - name: Build
  15. run: make build-linux
  16. build-dragonos:
  17. runs-on: ubuntu-latest
  18. steps:
  19. - uses: actions/checkout@v3
  20. - name: Build
  21. run: make build-dragonos
  22. fmt-check:
  23. runs-on: ubuntu-latest
  24. steps:
  25. - uses: actions/checkout@v3
  26. - name: Build
  27. run: make fmt-check