mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-05 12:57:42 +00:00
ci: build for old glibc (#232)
* build(deps): shadow_rs * ci(build): build for old glibc * ci: simplify all
This commit is contained in:
+35
-10
@@ -37,14 +37,7 @@ jobs:
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: "27.0"
|
||||
- uses: Nugine/setup-flatc@v1
|
||||
with:
|
||||
version: "24.3.25"
|
||||
- uses: ./.github/actions/setup
|
||||
|
||||
- name: Build binaries
|
||||
run: |
|
||||
@@ -53,7 +46,11 @@ jobs:
|
||||
|
||||
- name: Install s3s-e2e
|
||||
run: |
|
||||
cargo install s3s-e2e --git https://github.com/Nugine/s3s.git
|
||||
mkdir -p target/s3s-e2e
|
||||
cargo install s3s-e2e \
|
||||
--git https://github.com/Nugine/s3s.git \
|
||||
--target-dir target/s3s-e2e \
|
||||
--force
|
||||
s3s-e2e --version
|
||||
|
||||
- name: Run tests
|
||||
@@ -70,7 +67,35 @@ jobs:
|
||||
export RUST_BACKTRACE=full
|
||||
s3s-e2e
|
||||
killall rustfs
|
||||
|
||||
mint:
|
||||
needs: skip-check
|
||||
if: needs.skip-check.outputs.should_skip != 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/setup
|
||||
|
||||
- name: Build binaries
|
||||
run: |
|
||||
touch rustfs/build.rs
|
||||
cargo build -p rustfs --bins --release
|
||||
|
||||
- name: run this rustfs server
|
||||
run: |
|
||||
sudo mkdir -p /data/rustfs
|
||||
sudo nohup ./target/release/rustfs /data/rustfs &
|
||||
|
||||
- name: run mint test task
|
||||
run: |
|
||||
ps aux | grep rustfs
|
||||
SERVER_ADDRESS=$(ifconfig eth0 | awk 'NR==2 { print $2 }')
|
||||
docker run -e SERVER_ENDPOINT=${SERVER_ADDRESS}:9000 \
|
||||
-e ACCESS_KEY=rustfsadmin \
|
||||
-e SECRET_KEY=rustfsadmin \
|
||||
-e ENABLE_HTTPS=0 \
|
||||
minio/mint
|
||||
|
||||
### Temporarily disabled because it is not working
|
||||
# e2e:
|
||||
# # See this url if required matrix jobs are hanging
|
||||
|
||||
Reference in New Issue
Block a user