2020-12-21 10:58:36 +00:00
|
|
|
name: Rust
|
|
|
|
on: [push]
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
~/.cargo/registry
|
|
|
|
~/.cargo/git
|
|
|
|
target
|
|
|
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
2021-06-27 12:57:53 +00:00
|
|
|
- run: sudo apt-get -qqy update
|
2020-12-21 10:58:36 +00:00
|
|
|
- run: sudo apt-get -qqy install qemu-system-x86
|
2022-04-05 10:03:31 +00:00
|
|
|
- run: make
|
2022-06-14 20:43:33 +00:00
|
|
|
- run: make user-rust
|
2021-08-07 09:29:45 +00:00
|
|
|
- run: make test
|