forked from napi-rs/napi-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
32 lines (31 loc) · 914 Bytes
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
freebsd_instance:
image: freebsd-13-0-release-amd64
task:
name: FreeBSD
env:
DEBUG: 'napi:*'
RUSTUP_HOME: /usr/local/rustup
CARGO_HOME: /usr/local/cargo
PATH: /usr/local/cargo/bin:$PATH
RUSTUP_IO_THREADS: '1'
CI: '1'
setup_script:
- pkg update
- pkg install -y -f curl node16 libnghttp2
- curl -qL https://www.npmjs.com/install.sh | sh
- npm install --location=global --ignore-scripts yarn
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain stable
- |
echo "~~~~ rustc --version ~~~~"
rustc --version
echo "~~~~ node -v ~~~~"
node -v
echo "~~~~ yarn --version ~~~~"
yarn --version
test_script:
- yarn install --immutable --mode=skip-build
- yarn build
- cargo test -p napi-sys --lib -- --nocapture
- yarn build:test
- yarn test --verbose