mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
Update mint.yml
测试mint之查看启动参数
This commit is contained in:
+23
-23
@@ -14,33 +14,33 @@ jobs:
|
|||||||
mintest:
|
mintest:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- name: install protoc
|
- name: install protoc
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-linux-x86_64.zip
|
wget https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-linux-x86_64.zip
|
||||||
unzip protoc-27.0-linux-x86_64.zip -d protoc3
|
unzip protoc-27.0-linux-x86_64.zip -d protoc3
|
||||||
mv protoc3/bin/* /usr/local/bin/
|
mv protoc3/bin/* /usr/local/bin/
|
||||||
chmod +x /usr/local/bin/protoc
|
chmod +x /usr/local/bin/protoc
|
||||||
rm -rf protoc-27.0-linux-x86_64.zip protoc3
|
rm -rf protoc-27.0-linux-x86_64.zip protoc3
|
||||||
|
|
||||||
- name: install flatc
|
- name: install flatc
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/google/flatbuffers/releases/download/v24.3.25/Linux.flatc.binary.g++-13.zip
|
wget https://github.com/google/flatbuffers/releases/download/v24.3.25/Linux.flatc.binary.g++-13.zip
|
||||||
unzip Linux.flatc.binary.g++-13.zip
|
unzip Linux.flatc.binary.g++-13.zip
|
||||||
mv flatc /usr/local/bin/
|
mv flatc /usr/local/bin/
|
||||||
chmod +x /usr/local/bin/flatc
|
chmod +x /usr/local/bin/flatc
|
||||||
rm -rf Linux.flatc.binary.g++-13.zip
|
rm -rf Linux.flatc.binary.g++-13.zip
|
||||||
|
|
||||||
- name: checkout source code
|
- name: checkout source code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: rust-toolchain
|
- name: rust-toolchain
|
||||||
uses: actions-rs/toolchain@v1.0.6
|
uses: actions-rs/toolchain@v1.0.6
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
|
||||||
- name: cargo build & release
|
- name: cargo build & release
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
|
|
||||||
- name: run this rustfs server
|
- name: run this rustfs server
|
||||||
run: ./target/release/rustfs --help
|
run: ./target/release/rustfs --help
|
||||||
|
|||||||
Reference in New Issue
Block a user