mirror of
https://github.com/TransparentLC/opencl_vanity_gpg.git
synced 2025-10-20 15:24:08 +00:00
添加自动编译
This commit is contained in:
parent
880a437547
commit
f4e4050ef8
2 changed files with 7 additions and 2 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -43,7 +43,12 @@ jobs:
|
||||||
id: build
|
id: build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
RUSTFLAGS="--remap-path-prefix $HOME=~" cargo build --release
|
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||||
|
export RUSTFLAGS="--remap-path-prefix C:\\Users\\runneradmin=~"
|
||||||
|
else
|
||||||
|
export RUSTFLAGS="--remap-path-prefix $HOME=~"
|
||||||
|
fi
|
||||||
|
cargo build --release
|
||||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||||
echo "executable=target/release/opencl_vanity_gpg.exe" >> $GITHUB_OUTPUT
|
echo "executable=target/release/opencl_vanity_gpg.exe" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
目前最好的同类工具是使用 CPU 的 [RedL0tus/VanityGPG](https://github.com/RedL0tus/VanityGPG) 和使用 GPU(CUDA)的 [cuihaoleo/gpg-fingerprint-filter-gpu](https://github.com/cuihaoleo/gpg-fingerprint-filter-gpu)。这个项目是使用 GPU(OpenCL)实现的,优点当然是开箱即用了。
|
目前最好的同类工具是使用 CPU 的 [RedL0tus/VanityGPG](https://github.com/RedL0tus/VanityGPG) 和使用 GPU(CUDA)的 [cuihaoleo/gpg-fingerprint-filter-gpu](https://github.com/cuihaoleo/gpg-fingerprint-filter-gpu)。这个项目是使用 GPU(OpenCL)实现的,优点当然是开箱即用了。
|
||||||
|
|
||||||
> TODO: GitHub Actions 自动编译
|
GitHub Actions 有自动编译好的二进制文件。
|
||||||
|
|
||||||
# 使用方法
|
# 使用方法
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue