Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
- name: Setup OCI runtime build env
run: ${GITHUB_WORKSPACE}/.github/scripts/build.sh
- name: Setup build env
run: ./scripts/setup.sh
shell: bash
- name: Run checks
run: make check
Expand All @@ -34,8 +34,8 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
env:
RUST_CACHE_KEY_OS: ${{ matrix.os }}
- name: Setup OCI runtime build env
run: ${GITHUB_WORKSPACE}/.github/scripts/build.sh
- name: Setup build env
run: ./scripts/setup.sh
shell: bash
- name: Build
uses: actions-rs/cargo@v1
Expand All @@ -61,8 +61,8 @@ jobs:
- uses: actions/checkout@v3
- name: setup rust-wasm target
run: rustup target add wasm32-wasi
- name: Setup OCI runtime build env
run: ${GITHUB_WORKSPACE}/.github/scripts/build.sh
- name: Setup build env
run: ./scripts/setup.sh
shell: bash
- name: run
run: make test/k8s
Expand All @@ -88,8 +88,8 @@ jobs:
- uses: actions/checkout@v3
- name: setup rust-wasm target
run: rustup target add wasm32-wasi
- name: Setup OCI runtime build env
run: ${GITHUB_WORKSPACE}/.github/scripts/build.sh
- name: Setup build env
run: ./scripts/setup.sh
shell: bash
- name: run
run: make test/k3s
Expand Down
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,10 @@ You will need to make sure the `containerd-[ wasmedge | wasmtime ]d` daemon has

1. Install [youki dependencies](https://github.com/containers/youki#dependencies)

If on ubuntu/debian you can use the following script. Refer to youki's documentation for other systems.

```
sudo apt-get install \
pkg-config \
libsystemd-dev \
libdbus-glib-1-dev \
build-essential \
libelf-dev \
libseccomp-dev \
libclang-dev \
libssl-dev
./scripts/setup.sh
```

2. Build
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/build.sh → scripts/setup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
sudo apt -y update
sudo apt install -y pkg-config libsystemd-dev libdbus-glib-1-dev build-essential libelf-dev libseccomp-dev libclang-dev
sudo apt install -y pkg-config libsystemd-dev libdbus-glib-1-dev build-essential libelf-dev libseccomp-dev libclang-dev