Skip to content

Commit

Permalink
fix(build): 更新文档和ci的构建命令
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow3aaa committed Jan 24, 2025
1 parent 53a7ed6 commit 5cf5005
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
export ANDROID_NDK_HOME=$(realpath ~/ndk_temp)
export ANDROID_NDK_ROOT=$ANDROID_NDK_HOME
python3 ./make.py build --release --nightly
cargo xtask build -r -v
- name: Prepare artifacts
run: |
mkdir -p output/artifact/release
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
export ANDROID_NDK_HOME=$(realpath ~/ndk_temp)
export ANDROID_NDK_ROOT=$ANDROID_NDK_HOME
python3 ./make.py build --debug --nightly
cargo xtask build -v
- name: Prepare artifacts
run: |
mkdir -p output/artifact/debug
Expand Down
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,7 @@ core_temp_thresh = 95000

```bash
# Ubuntu (NDK is required)
apt install gcc-multilib git-lfs clang python3
# ruff (Python lints & format)
pip install ruff
apt install gcc-multilib git-lfs
# Rust (Nightly version is required)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Expand All @@ -170,9 +167,7 @@ git clone https://github.com/shadow3aaa/fas-rs
cd fas-rs
# Compile
python3 ./make.py build --release
# Use the `--nightly` option when building(Some nightly flags will be added to produce smaller artifacts)
python3 ./make.py build --release --nightly
cargo xtask build -r
```

## **捐赠**
Expand Down
9 changes: 2 additions & 7 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,7 @@ core_temp_thresh = 95000

```bash
# Ubuntu (NDK is required)
apt install gcc-multilib git-lfs clang python3
# ruff (Python lints & format)
pip install ruff
apt install gcc-multilib git-lfs
# Rust (Nightly version is required)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Expand All @@ -172,7 +169,5 @@ git clone https://github.com/shadow3aaa/fas-rs
cd fas-rs
# Compile
python3 ./make.py build --release
# Use the `--nightly` option when building(Some nightly flags will be added to produce smaller artifacts)
python3 ./make.py build --release --nightly
cargo xtask build -r
```

0 comments on commit 5cf5005

Please sign in to comment.