File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -362,20 +362,17 @@ jobs:
362
362
with :
363
363
operating_system : freebsd
364
364
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"
366
366
shell : " bash"
367
367
cpu_count : 4
368
368
image_url : https://github.com/vnghia/nghe-freebsd-builder/releases/download/v0.0.13/freebsd-${{ matrix.version }}-x86-64.qcow2
369
369
run : |
370
370
sudo chown -R $(id -u):$(id -g) /root/
371
371
export CARGO_HOME="/root/.cargo"
372
- export RUSTUP_HOME="$CARGO_HOME"
373
372
export PATH="$CARGO_HOME/bin/:$PATH"
374
373
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 }}
379
376
curl -LsSf https://get.nexte.st/latest/freebsd | tar zxf - -C $CARGO_HOME/bin/
380
377
381
378
cargo build --locked --target ${{ steps.build.outputs.target }} --profile ${{ steps.build.outputs.profile }} --package nghe_backend
You can’t perform that action at this time.
0 commit comments