1name: BVT 2on: [pull_request] 3jobs: 4 bvt: 5 name: BVT 6 runs-on: ubuntu-latest 7 steps: 8 - uses: actions/checkout@v2 9 - name: install dependencies 10 run: | 11 rustup target add x86_64-unknown-linux-musl 12 rustup component add rustfmt clippy 13 - name: Format Check 14 run: make fmt 15 - name: Clippy Check 16 run: make clippy 17 - name: Build 18 run: make vsock 19 - name: Build echo_server 20 run: make echo_server 21 22 ## Unfortunately GitHub Acions doesn't support nested virtualization at the moment, 23 ## And the vsock have bugs on qemu + tcg, so we can't run the unit test for now. 24 # - name: Install QEMU 25 # run: | 26 # sudo apt-get install qemu-system-x86 -y 27 # sudo modprobe vhost_vsock 28 # - name: Run Unit Test 29 # run: | 30 # make vm-for-action 31 # make check 32