From 428745ceda2e5504e744dcf270dde2909cbb9a0d Mon Sep 17 00:00:00 2001 From: Monius Date: Fri, 26 Apr 2024 11:32:58 +0800 Subject: [PATCH] update ci --- .github/workflows/ci.yml | 1 + README.md | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 286dfe1..55ea86c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,7 @@ on: - "main" paths: - "rim-cli/Cargo.toml" + - ".github/workflows/ci.yml" jobs: pre: diff --git a/README.md b/README.md index 7cbf36b..b2e844e 100644 --- a/README.md +++ b/README.md @@ -47,4 +47,15 @@ keys = [ "sk-00000000000000000000000000000001", ] EOF +``` + +### Compile from source + +```bash +sudo apt install -y --no-install-recommends clang curl pkg-config yasm nasm + +curl -fsSL https://sh.rustup.rs | sh -s -- -y +rustup update nightly && rustup default nightly +rustup component add rust-std-x86_64-unknown-linux-musl + ``` \ No newline at end of file