From 7f56ff491785e4e7b39a7af9ed9332b96d2ba002 Mon Sep 17 00:00:00 2001 From: David Estes Date: Tue, 19 Nov 2024 12:21:14 -0700 Subject: [PATCH] chore: rename task with rust this is more clear, plus we're actually using the N-API interface and not WASM --- .github/workflows/build-test.yml | 6 +++--- README.md | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 3dc0bf7..0e56246 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -25,16 +25,16 @@ jobs: settings: - host: macos-13 target: x86_64-apple-darwin - build: pnpm build:wasm --target x86_64-apple-darwin && pnpm build:js + build: pnpm build:rust --target x86_64-apple-darwin && pnpm build:js - host: ubuntu-latest target: x86_64-unknown-linux-gnu # using vm instead of docker, but leaving in case we need this for other targets # docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian - build: pnpm build:wasm --target x86_64-unknown-linux-gnu && pnpm build:js + build: pnpm build:rust --target x86_64-unknown-linux-gnu && pnpm build:js test: cd tests/c1-integration && pnpm run test - host: macos-latest target: aarch64-apple-darwin - build: pnpm build:wasm --target aarch64-apple-darwin && pnpm build:js + build: pnpm build:rust --target aarch64-apple-darwin && pnpm build:js name: stable - ${{ matrix.settings.target }} - node@20 runs-on: ${{ matrix.settings.host }} steps: diff --git a/README.md b/README.md index 2acb3aa..70d5ba9 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ pnpm test:ci # run only unit tests ## CI -In order to specify targets for WASM builds on CI, the build script is split into `pnpm build:wasm` which allows passing `--target TARGET_TRIPLE` and `pnpm build:js`. +In order to specify targets for WASM builds on CI, the build script is split into `pnpm build:rust` which allows passing `--target TARGET_TRIPLE` and `pnpm build:js`. ## License diff --git a/package.json b/package.json index 54499ec..7cf9609 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "packageManager": "pnpm@9.8.0", "scripts": { "build": "pnpm --filter \"@ceramic-sdk/*\" build && turbo run build:js", - "build:wasm": "pnpm --filter \"@ceramic-sdk/flight-sql-client\" build", + "build:rust": "pnpm --filter \"@ceramic-sdk/flight-sql-client\" build", "build:js": "pnpm --filter \"@ceramic-sdk/*\" --filter !@ceramic-sdk/flight-sql-client build && turbo run build:js", "docs": "typedoc", "lint": "biome check --write apps/* packages/* tests/*",