-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -203,15 +203,6 @@ jobs: | |
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- uses: pnpm/[email protected] | ||
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18.x | ||
cache: 'pnpm' | ||
registry-url: https://registry.npmjs.org/ | ||
- run: corepack enable | ||
|
||
- name: Install Rust toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
|
||
|
@@ -231,19 +222,19 @@ jobs: | |
- name: Install NPM Dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
arstarst - name: Build Platform Binding | ||
run: napi build --cargo-name qwik_napi --platform | ||
- name: Build Platform Binding | ||
run: napi build --cargo-name qwik_napi --platform --config=packages/qwik/src/napi/napi.config.json bindings/ | ||
shell: bash | ||
|
||
- name: Print Packages Dist Build | ||
continue-on-error: true | ||
run: ls -lR packages/qwik/dist/ | ||
run: ls -lR bindings/ | ||
|
||
- name: Upload Platform Binding Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: dist-bindings-${{ matrix.settings.target }} | ||
path: packages/qwik/dist/bindings/*.node | ||
path: bindings/*.node | ||
if-no-files-found: error | ||
|
||
############ BUILD INSIGHTS ############ | ||
|
@@ -267,7 +258,7 @@ arstarst - name: Build Platform Binding | |
cache: 'pnpm' | ||
registry-url: https://registry.npmjs.org/ | ||
- run: corepack enable | ||
|
||
- name: Download Build Artifacts | ||
uses: actions/[email protected] | ||
|
||
|
@@ -308,7 +299,7 @@ arstarst - name: Build Platform Binding | |
cache: 'pnpm' | ||
registry-url: https://registry.npmjs.org/ | ||
- run: corepack enable | ||
|
||
- name: Download Build Artifacts | ||
uses: actions/[email protected] | ||
|
||
|
@@ -389,7 +380,7 @@ arstarst - name: Build Platform Binding | |
cache: 'pnpm' | ||
registry-url: https://registry.npmjs.org/ | ||
- run: corepack enable | ||
|
||
- name: Download Build Artifacts | ||
uses: actions/[email protected] | ||
|
||
|
@@ -464,7 +455,7 @@ arstarst - name: Build Platform Binding | |
cache: 'pnpm' | ||
registry-url: https://registry.npmjs.org/ | ||
- run: corepack enable | ||
|
||
- name: Download Build Artifacts | ||
uses: actions/[email protected] | ||
|
||
|
@@ -510,7 +501,7 @@ arstarst - name: Build Platform Binding | |
cache: 'pnpm' | ||
registry-url: https://registry.npmjs.org/ | ||
- run: corepack enable | ||
|
||
- name: Download Build Artifacts | ||
uses: actions/[email protected] | ||
|
||
|