Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
sync: rsync
copyback: false
# We need jq and GNU coreutils to run show-utils.sh and bash to use inline shell string replacement
prepare: pkg install -y curl sudo jaq coreutils bash python3
prepare: pkg install -y rust sudo jaq coreutils bash python3
run: |
## Prepare, build, and test
sudo ln -s $(command -v jaq) /usr/local/bin/jq
Expand All @@ -62,9 +62,6 @@ jobs:
sudo -i -u ${TEST_USER} bash << EOF
set -e
whoami
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y -c rustfmt,clippy --profile=minimal -t stable
. ${HOME}/.cargo/env
## VARs setup
cd "${WORKSPACE}"
unset FAIL_ON_FAULT ; case '${{ env.STYLE_FAIL_ON_FAULT }}' in
Expand Down Expand Up @@ -134,7 +131,7 @@ jobs:
usesh: true
sync: rsync
copyback: false
prepare: pkg install -y curl gmake sudo jaq
prepare: pkg install -y gmake nextest rust sudo jaq
run: |
## Prepare, build, and test
sudo ln -s $(command -v jaq) /usr/local/bin/jq
Expand All @@ -158,12 +155,6 @@ jobs:
sudo -i -u ${TEST_USER} sh << EOF
set -e
whoami
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile=minimal
. $HOME/.cargo/env
# Install nextest
mkdir -p ~/.cargo/bin
curl -LsSf https://get.nexte.st/latest/freebsd | tar zxf - -C ~/.cargo/bin
## Info
# environment
echo "## environment"
Expand All @@ -185,6 +176,8 @@ jobs:
unset FAULT
export CARGO_INCREMENTAL=0
export RUSTFLAGS="-C strip=symbols" # for disk space
# vendored OpenSSL takes many times to build. Use system one (LibreSSL is supported).
export OPENSSL_NO_VENDOR=1 OPENSSL_DIR=/usr
cargo build || FAULT=1
export PATH=~/.cargo/bin:${PATH}
export RUST_BACKTRACE=1
Expand Down
Loading