Skip to content

build(deps): bump anyhow from 1.0.86 to 1.0.90 #523

build(deps): bump anyhow from 1.0.86 to 1.0.90

build(deps): bump anyhow from 1.0.86 to 1.0.90 #523

Workflow file for this run

name: "Function: ext4"
on:
push:
branches:
- "mistress"
paths:
- "**.rs"
- "**.yaml"
- "**.toml"
pull_request:
branches:
- "mistress"
paths:
- "**.rs"
- "**.yaml"
- "**.toml"
jobs:
function-ext4:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- name: "Install latest stable Rust"
uses: "actions-rs/toolchain@v1"
with:
toolchain: "stable"
profile: "minimal"
override: true
target: "x86_64-unknown-linux-musl"
- uses: "Swatinem/rust-cache@v2"
with:
key: "ext4-functionality"
cache-on-failure: true
- name: "Install musl-tools"
run: "sudo apt-get update && sudo apt-get install -y musl-tools comerr-dev wget"
- name: "Build release binary!"
uses: "actions-rs/cargo@v1"
with:
command: "build"
args: "--release --target=x86_64-unknown-linux-musl"
- name: "Run release binary"
run: "pwd && ls -lah && env RUST_LOG=debug ./target/x86_64-unknown-linux-musl/release/peckish -c ./configs/ci/peckish.ext4.yaml"
- name: "Validate ext4 creation"
run: "ls -lah ./out/ci"
- name: "Validate ext4 filesystem"
run: "sudo apt-get update && sudo apt-get install -y e2fsprogs && e2fsck -fvn ./out/ci/hello-world.ext4"
# - name: "Validate ext4 fs boots"
# run: |
# ARCH="$(uname -m)"
# mkdir -pv ./out/ci
# wget https://s3.amazonaws.com/spec.ccfc.min/img/quickstart_guide/${ARCH}/kernels/vmlinux.bin -O ./out/ci/vmlinux.bin
# wget -q https://github.com/firecracker-microvm/firecracker/releases/download/v1.3.3/firecracker-v1.3.3-x86_64.tgz -O- | gzip -d | tar xvf - | grep firecracker | grep "x86_64\$" | xargs --replace="REPL" mv -v REPL ./firecracker
# ./firecracker --no-api --config-file ./configs/ci/firecracker/vm_config.json