test.yml (1118B)
1 when: 2 branch: master 3 event: [push, pull_request] 4 5 steps: 6 - name: lint 7 image: "docker.io/rust:1.89-alpine3.22" 8 commands: 9 - apk add --no-cache musl-dev 10 - rustup component add clippy rustfmt 11 - cargo clippy -- --no-deps -Dwarnings 12 - cargo clippy --features testing -- --no-deps -Dwarnings 13 - cargo clippy --no-default-features --features timings,baked-rc,cli -- --no-deps -Dwarnings 14 - cargo fmt -- --check 15 - name: test 16 image: "docker.io/rust:1.89-alpine3.22" 17 depends_on: 18 - lint 19 commands: 20 - apk add --no-cache musl-dev just curl qemu-system-x86_64 qemu-img git bash 21 - curl -o tapview "https://gitlab.com/esr/tapview/-/raw/master/tapview" 22 - chmod +x ./tapview 23 - curl -o /usr/local/bin/lexpect "https://binaries.gayest.systems/lexpect/lexpect-lua54/target/x86_64-unknown-linux-musl/release/lexpect" 24 - chmod +x /usr/local/bin/lexpect 25 - sed 's/security_model=mapped/security_model=passthrough/' scripts/controller scripts/start -i 26 - ./scripts/prepare-vm 27 - just test > test.log 28 - cat test.log | ./tapview