mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
ci: fix native server build (#10554)
This commit is contained in:
2
.github/actions/build-rust/action.yml
vendored
2
.github/actions/build-rust/action.yml
vendored
@@ -51,7 +51,7 @@ runs:
|
|||||||
# pass -D_BSD_SOURCE to clang to fix the tree-sitter build issue
|
# pass -D_BSD_SOURCE to clang to fix the tree-sitter build issue
|
||||||
run: |
|
run: |
|
||||||
echo "CC=clang -D_BSD_SOURCE" >> "$GITHUB_ENV"
|
echo "CC=clang -D_BSD_SOURCE" >> "$GITHUB_ENV"
|
||||||
echo "TARGET_CC=clang" >> "$GITHUB_ENV"
|
echo "TARGET_CC=clang -D_BSD_SOURCE" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
"build:debug": "napi build"
|
"build:debug": "napi build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@napi-rs/cli": "3.0.0-alpha.72",
|
"@napi-rs/cli": "3.0.0-alpha.73",
|
||||||
"lib0": "^0.2.99",
|
"lib0": "^0.2.99",
|
||||||
"tiktoken": "^1.0.17",
|
"tiktoken": "^1.0.17",
|
||||||
"tinybench": "^3.0.7",
|
"tinybench": "^3.0.7",
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@napi-rs/cli": "3.0.0-alpha.72",
|
"@napi-rs/cli": "3.0.0-alpha.73",
|
||||||
"@napi-rs/whisper": "^0.0.4",
|
"@napi-rs/whisper": "^0.0.4",
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.0.0",
|
||||||
"ava": "^6.2.0",
|
"ava": "^6.2.0",
|
||||||
|
|||||||
12
yarn.lock
12
yarn.lock
@@ -746,7 +746,7 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@affine/native@workspace:packages/frontend/native"
|
resolution: "@affine/native@workspace:packages/frontend/native"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@napi-rs/cli": "npm:3.0.0-alpha.72"
|
"@napi-rs/cli": "npm:3.0.0-alpha.73"
|
||||||
"@napi-rs/whisper": "npm:^0.0.4"
|
"@napi-rs/whisper": "npm:^0.0.4"
|
||||||
"@types/node": "npm:^22.0.0"
|
"@types/node": "npm:^22.0.0"
|
||||||
ava: "npm:^6.2.0"
|
ava: "npm:^6.2.0"
|
||||||
@@ -797,7 +797,7 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@affine/server-native@workspace:packages/backend/native"
|
resolution: "@affine/server-native@workspace:packages/backend/native"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@napi-rs/cli": "npm:3.0.0-alpha.72"
|
"@napi-rs/cli": "npm:3.0.0-alpha.73"
|
||||||
lib0: "npm:^0.2.99"
|
lib0: "npm:^0.2.99"
|
||||||
tiktoken: "npm:^1.0.17"
|
tiktoken: "npm:^1.0.17"
|
||||||
tinybench: "npm:^3.0.7"
|
tinybench: "npm:^3.0.7"
|
||||||
@@ -6681,9 +6681,9 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@napi-rs/cli@npm:3.0.0-alpha.72":
|
"@napi-rs/cli@npm:3.0.0-alpha.73":
|
||||||
version: 3.0.0-alpha.72
|
version: 3.0.0-alpha.73
|
||||||
resolution: "@napi-rs/cli@npm:3.0.0-alpha.72"
|
resolution: "@napi-rs/cli@npm:3.0.0-alpha.73"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@inquirer/prompts": "npm:^7.0.0"
|
"@inquirer/prompts": "npm:^7.0.0"
|
||||||
"@napi-rs/cross-toolchain": "npm:^0.0.19"
|
"@napi-rs/cross-toolchain": "npm:^0.0.19"
|
||||||
@@ -6710,7 +6710,7 @@ __metadata:
|
|||||||
bin:
|
bin:
|
||||||
napi: ./dist/cli.js
|
napi: ./dist/cli.js
|
||||||
napi-raw: ./cli.mjs
|
napi-raw: ./cli.mjs
|
||||||
checksum: 10/8575e8eaab880bd3dd41dd3f7fc2e79ca7fcb3197038c4aedc41fcfe46ab10fa34f70b0370cb52325b07ca8ec6115c87f48b8bd7850ca10964933563718a6ede
|
checksum: 10/85d4d5e6bb177f68c60335dcb42ffd8b4130fe41abaf1f7fd4a2c645ff23b6acd19b8155333bcd0a1bdcdb42fb6dca8f4b4dc46a395c588ac1801388cd1d008e
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user