Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 736b470

Browse files
committedFeb 1, 2025·
dont pass rust backtrace to freebsd rust-lang/rust#132185
1 parent efcd20e commit 736b470

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed
 

Diff for: ‎.github/workflows/main.yaml

+3-6
Original file line numberDiff line numberDiff line change
@@ -362,20 +362,17 @@ jobs:
362362
with:
363363
operating_system: freebsd
364364
version: ${{ matrix.version }}
365-
environment_variables: "CARGO_TERM_COLOR RUST_BACKTRACE RUST_LOG COLORBT_SHOW_HIDDEN DATABASE_URL AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_REGION AWS_ENDPOINT_URL AWS_USE_PATH_STYLE_ENDPOINT ACTIONS_CACHE_URL ACTIONS_RUNTIME_TOKEN VCPKG_BINARY_SOURCES"
365+
environment_variables: "CARGO_TERM_COLOR RUST_LOG COLORBT_SHOW_HIDDEN DATABASE_URL AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_REGION AWS_ENDPOINT_URL AWS_USE_PATH_STYLE_ENDPOINT ACTIONS_CACHE_URL ACTIONS_RUNTIME_TOKEN VCPKG_BINARY_SOURCES"
366366
shell: "bash"
367367
cpu_count: 4
368368
image_url: https://github.com/vnghia/nghe-freebsd-builder/releases/download/v0.0.13/freebsd-${{ matrix.version }}-x86-64.qcow2
369369
run: |
370370
sudo chown -R $(id -u):$(id -g) /root/
371371
export CARGO_HOME="/root/.cargo"
372-
export RUSTUP_HOME="$CARGO_HOME"
373372
export PATH="$CARGO_HOME/bin/:$PATH"
374373
375-
rustup install 1.84 --profile minimal --no-self-update
376-
cargo +1.84 install cargo-vcpkg
377-
cargo +1.84 vcpkg --verbose build --manifest-path nghe-backend/Cargo.toml --target ${{ steps.build.outputs.target }}
378-
374+
cargo install cargo-vcpkg
375+
cargo vcpkg --verbose build --manifest-path nghe-backend/Cargo.toml --target ${{ steps.build.outputs.target }}
379376
curl -LsSf https://get.nexte.st/latest/freebsd | tar zxf - -C $CARGO_HOME/bin/
380377
381378
cargo build --locked --target ${{ steps.build.outputs.target }} --profile ${{ steps.build.outputs.profile }} --package nghe_backend

0 commit comments

Comments
 (0)
Please sign in to comment.