ci: fix FreeBSD
This commit is contained in:
parent
a939c1b103
commit
a90dacd709
1 changed files with 5 additions and 3 deletions
|
@ -2,15 +2,18 @@ freebsd_instance:
|
||||||
image: freebsd-12-2-release-amd64
|
image: freebsd-12-2-release-amd64
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: FreeBSD 12.2
|
name: FreeBSD
|
||||||
env:
|
env:
|
||||||
DEBUG: 'napi:*'
|
DEBUG: 'napi:*'
|
||||||
|
RUSTUP_HOME: /usr/local/rustup
|
||||||
|
CARGO_HOME: /usr/local/cargo
|
||||||
|
PATH: /usr/local/cargo/bin:$PATH
|
||||||
|
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 node yarn npm libnghttp2
|
||||||
- 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
|
||||||
- . $HOME/.cargo/env
|
|
||||||
- |
|
- |
|
||||||
echo "~~~~ rustc --version ~~~~"
|
echo "~~~~ rustc --version ~~~~"
|
||||||
rustc --version
|
rustc --version
|
||||||
|
@ -19,7 +22,6 @@ task:
|
||||||
echo "~~~~ yarn --version ~~~~"
|
echo "~~~~ yarn --version ~~~~"
|
||||||
yarn --version
|
yarn --version
|
||||||
test_script:
|
test_script:
|
||||||
- . $HOME/.cargo/env
|
|
||||||
- yarn install --ignore-platform --frozen-lockfile --registry https://registry.npmjs.org
|
- yarn install --ignore-platform --frozen-lockfile --registry https://registry.npmjs.org
|
||||||
- yarn build
|
- yarn build
|
||||||
- cargo test -p napi-sys --lib -- --nocapture
|
- cargo test -p napi-sys --lib -- --nocapture
|
||||||
|
|
Loading…
Reference in a new issue