napi-rs/.cirrus.yml

28 lines
760 B
YAML
Raw Normal View History

2020-10-13 00:23:15 +09:00
freebsd_instance:
image: freebsd-12-1-release-amd64
task:
name: FreeBSD 12.1
env:
DEBUG: 'napi:*'
setup_script:
- pkg update
2020-10-13 23:58:29 +09:00
- pkg install -y -f curl node yarn npm libnghttp2 llvm
2020-10-13 00:23:15 +09:00
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain stable
- . $HOME/.cargo/env
- |
echo "~~~~ rustc --version ~~~~"
rustc --version
echo "~~~~ node -v ~~~~"
node -v
echo "~~~~ yarn --version ~~~~"
yarn --version
test_script:
- . $HOME/.cargo/env
2020-10-13 23:58:29 +09:00
- yarn install --ignore-platform --frozen-lockfile --registry https://registry.npmjs.org
2020-10-13 00:23:15 +09:00
- yarn build
- cargo test -p napi-sys --lib -- --nocapture
- yarn build:test
- yarn test