Merge pull request #27 from khei4/fix-typo #365
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
test: | |
name: Test | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
rust: [nightly] | |
fail-fast: true | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Install nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- name: Install dependencies | |
run: cargo install wasm-pack | |
- name: Build | |
run: make rvemu | |
- name: Run tests | |
run: make test | |
- name: Run xv6 | |
run: | | |
make rvemu-cli | |
./target/release/rvemu-cli -k bin/xv6/kernel.bin -f bin/xv6/fs.img > out & | |
pid=$! | |
sleep 180 | |
kill $pid | |
grep -q "init: starting sh" ./out |