Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
e471a46a
Unverified
Commit
e471a46a
authored
Aug 24, 2023
by
JJ Kasper
Committed by
GitHub
Aug 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable verbose logging for turbo in CI (#54525)
Gives us more insight into turbo runs when building swc
parent
8487278c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
build_and_deploy.yml
.github/workflows/build_and_deploy.yml
+6
-6
build_reusable.yml
.github/workflows/build_reusable.yml
+1
-1
No files found.
.github/workflows/build_and_deploy.yml
View file @
e471a46a
...
@@ -87,7 +87,7 @@ jobs:
...
@@ -87,7 +87,7 @@ jobs:
target
:
'
x86_64-apple-darwin'
target
:
'
x86_64-apple-darwin'
build
:
|
build
:
|
npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" && corepack enable
npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" && corepack enable
turbo run build-native-release --remote-cache-timeout 90 --summarize -- --target x86_64-apple-darwin --release
turbo run build-native-release -
vvv -
-remote-cache-timeout 90 --summarize -- --target x86_64-apple-darwin --release
strip -x packages/next-swc/native/next-swc.*.node
strip -x packages/next-swc/native/next-swc.*.node
-
host
:
-
host
:
...
@@ -102,7 +102,7 @@ jobs:
...
@@ -102,7 +102,7 @@ jobs:
SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" && corepack enable
npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" && corepack enable
turbo run build-native-release --remote-cache-timeout 90 --summarize -- --target aarch64-apple-darwin
turbo run build-native-release -
vvv -
-remote-cache-timeout 90 --summarize -- --target aarch64-apple-darwin
strip -x packages/next-swc/native/next-swc.*.node
strip -x packages/next-swc/native/next-swc.*.node
-
host
:
-
host
:
...
@@ -113,7 +113,7 @@ jobs:
...
@@ -113,7 +113,7 @@ jobs:
build
:
|
build
:
|
corepack enable
corepack enable
npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}"
npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}"
turbo run build-native-release --remote-cache-timeout 90 --summarize -- --target x86_64-pc-windows-msvc
turbo run build-native-release -
vvv -
-remote-cache-timeout 90 --summarize -- --target x86_64-pc-windows-msvc
target
:
'
x86_64-pc-windows-msvc'
target
:
'
x86_64-pc-windows-msvc'
-
host
:
-
host
:
...
@@ -124,7 +124,7 @@ jobs:
...
@@ -124,7 +124,7 @@ jobs:
build
:
|
build
:
|
corepack enable
corepack enable
npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}"
npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}"
turbo run build-native-no-plugin --remote-cache-timeout 90 --summarize -- --release --target i686-pc-windows-msvc
turbo run build-native-no-plugin -
vvv -
-remote-cache-timeout 90 --summarize -- --release --target i686-pc-windows-msvc
target
:
'
i686-pc-windows-msvc'
target
:
'
i686-pc-windows-msvc'
-
host
:
-
host
:
...
@@ -136,7 +136,7 @@ jobs:
...
@@ -136,7 +136,7 @@ jobs:
build
:
|
build
:
|
corepack enable
corepack enable
npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}"
npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}"
turbo run build-native-no-plugin-woa-release --remote-cache-timeout 90 --summarize -- --target aarch64-pc-windows-msvc
turbo run build-native-no-plugin-woa-release -
vvv -
-remote-cache-timeout 90 --summarize -- --target aarch64-pc-windows-msvc
-
host
:
-
host
:
-
'
self-hosted'
-
'
self-hosted'
...
@@ -367,7 +367,7 @@ jobs:
...
@@ -367,7 +367,7 @@ jobs:
run
:
node scripts/normalize-version-bump.js
run
:
node scripts/normalize-version-bump.js
-
name
:
Build
-
name
:
Build
run
:
turbo run build-wasm --remote-cache-timeout 90 --summarize -- --target ${{ matrix.target }} --features tracing/release_max_level_info
run
:
turbo run build-wasm -
vvv -
-remote-cache-timeout 90 --summarize -- --target ${{ matrix.target }} --features tracing/release_max_level_info
-
name
:
Add target to folder name
-
name
:
Add target to folder name
run
:
'
[[
-d
"packages/next-swc/crates/wasm/pkg"
]]
&&
mv
packages/next-swc/crates/wasm/pkg
packages/next-swc/crates/wasm/pkg-${{
matrix.target
}}
||
ls
packages/next-swc/crates/wasm'
run
:
'
[[
-d
"packages/next-swc/crates/wasm/pkg"
]]
&&
mv
packages/next-swc/crates/wasm/pkg
packages/next-swc/crates/wasm/pkg-${{
matrix.target
}}
||
ls
packages/next-swc/crates/wasm'
...
...
.github/workflows/build_reusable.yml
View file @
e471a46a
...
@@ -137,7 +137,7 @@ jobs:
...
@@ -137,7 +137,7 @@ jobs:
-
run
:
node scripts/normalize-version-bump.js
-
run
:
node scripts/normalize-version-bump.js
name
:
normalize versions
name
:
normalize versions
-
run
:
turbo run build-native-release --remote-cache-timeout 90 --summarize -- --target x86_64-unknown-linux-gnu
-
run
:
turbo run build-native-release -
vvv -
-remote-cache-timeout 90 --summarize -- --target x86_64-unknown-linux-gnu
if
:
${{ inputs.skipNativeBuild != 'yes' && steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
if
:
${{ inputs.skipNativeBuild != 'yes' && steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
-
name
:
Upload next-swc artifact
-
name
:
Upload next-swc artifact
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment