ci: fix FreeBSD

This commit is contained in:
LongYinan 2022-01-12 15:40:25 +08:00
parent 2de500f33b
commit ee713bce70
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -11,7 +11,9 @@ task:
RUSTUP_IO_THREADS: 1 RUSTUP_IO_THREADS: 1
setup_script: setup_script:
- pkg update - pkg update
- pkg install -y -f curl node yarn npm libnghttp2 - pkg install -y -f curl node16 libnghttp2
- curl -qL https://www.npmjs.com/install.sh | sh
- npm install -g yarn
- curl https://sh.rustup.rs -sSf --output rustup.sh - curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain stable - sh rustup.sh -y --profile minimal --default-toolchain stable
- | - |