build.yml 700 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: Build
  2. on:
  3. push:
  4. branches: [ main ]
  5. pull_request:
  6. branches: [ main ]
  7. env:
  8. CARGO_TERM_COLOR: always
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v2
  14. with:
  15. submodules: 'recursive'
  16. - name: Install Rust
  17. uses: actions-rs/toolchain@v1
  18. with:
  19. toolchain: nightly
  20. default: true
  21. profile: minimal
  22. - name: Install dependencies
  23. run: |
  24. sudo apt-get install -y acpica-tools
  25. - name: Build
  26. run: cargo build --all
  27. - name: Run tests
  28. run: cargo test --all
  29. - name: Run AML test suite
  30. run: cargo run --bin aml_tester -- -p tests