eitri-cli 1.9.0-beta.2 → 1.9.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bitbucket-pipelines.yml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
image: node:18
|
|
1
|
+
image: node:18
|
|
2
2
|
|
|
3
3
|
pipelines:
|
|
4
4
|
custom:
|
|
@@ -18,14 +18,15 @@ pipelines:
|
|
|
18
18
|
caches:
|
|
19
19
|
- node
|
|
20
20
|
script:
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
21
|
+
- apt-get update
|
|
22
|
+
- apt-get install -y libssl-dev
|
|
23
|
+
- apt-get install -y pkg-config
|
|
24
|
+
- apt-get install -y cargo
|
|
24
25
|
- cd eitri-cli-v2
|
|
25
26
|
- yarn install
|
|
26
27
|
- cd ..
|
|
27
|
-
-
|
|
28
|
-
-
|
|
28
|
+
- apt-get install -y git
|
|
29
|
+
- apt-get install -y chromium
|
|
29
30
|
- export PUPPETEER_EXECUTABLE_PATH='/usr/bin/chromium-browser'
|
|
30
31
|
- yarn
|
|
31
32
|
- npm i -g .
|
|
@@ -35,9 +36,10 @@ pipelines:
|
|
|
35
36
|
caches:
|
|
36
37
|
- node
|
|
37
38
|
script:
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
39
|
+
- apt-get update
|
|
40
|
+
- apt-get install -y libssl-dev
|
|
41
|
+
- apt-get install -y pkg-config
|
|
42
|
+
- apt-get install -y cargo
|
|
41
43
|
- cd eitri-cli-v2
|
|
42
44
|
- cargo test
|
|
43
45
|
branches:
|
|
@@ -52,17 +54,18 @@ pipelines:
|
|
|
52
54
|
caches:
|
|
53
55
|
- node
|
|
54
56
|
script:
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
57
|
+
- apt-get update
|
|
58
|
+
- apt-get install -y git
|
|
59
|
+
- apt-get install -y libssl-dev
|
|
60
|
+
- apt-get install -y libudev-dev
|
|
61
|
+
- apt-get install -y pkg-config
|
|
62
|
+
- apt-get install -y cargo
|
|
63
|
+
- apt-get install -y gcc-mingw-w64
|
|
64
|
+
- apt-get install -y curl
|
|
61
65
|
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
62
66
|
- export PATH="/root/.cargo/bin:${PATH}"
|
|
63
67
|
- rustup --version
|
|
64
68
|
- rustup target add x86_64-pc-windows-gnu
|
|
65
|
-
- rustup target add x86_64-unknown-linux-musl
|
|
66
69
|
- cd eitri-cli-v2
|
|
67
70
|
- RUSTFLAGS="-C target-feature=-crt-static" yarn install
|
|
68
71
|
- yarn install:win32
|
|
Binary file
|
|
Binary file
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"build": "cargo-cp-artifact -nc index.unix.node -- cargo build --message-format=json-render-diagnostics
|
|
7
|
+
"build": "cargo-cp-artifact -nc index.unix.node -- cargo build --message-format=json-render-diagnostics",
|
|
8
8
|
"build:win32": "cargo-cp-artifact -nc index.win32.node -- cargo build --message-format=json-render-diagnostics --target x86_64-pc-windows-gnu",
|
|
9
9
|
"build-debug": "npm run build --",
|
|
10
10
|
"build-release": "npm run build -- --release",
|