-
Notifications
You must be signed in to change notification settings - Fork 26.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'canary' into updated-duplicate-module-load
- Loading branch information
Showing
2,006 changed files
with
148,763 additions
and
101,498 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CODE_OF_CONDUCT.md | ||
examples/ |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"allow": [ | ||
"attacks", | ||
"color", | ||
"dead", | ||
"execute", | ||
"executed", | ||
"executes", | ||
"execution", | ||
"executions", | ||
"failed", | ||
"failure", | ||
"failures", | ||
"fire", | ||
"fires", | ||
"hook", | ||
"hooks", | ||
"host-hostess", | ||
"invalid" | ||
] | ||
} |
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
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
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Learn how to add code owners here: | ||
# https://help.github.com/en/articles/about-code-owners | ||
|
||
* @timneutkens @ijjk @lfades @divmain @shuding | ||
/docs/ @timneutkens @ijjk @lfades @divmain @shuding @leerob | ||
/examples/ @timneutkens @ijjk @lfades @divmain @shuding @leerob | ||
* @timneutkens @ijjk @shuding @styfle @huozhi @padmaia | ||
/docs/ @timneutkens @ijjk @shuding @styfle @huozhi @padmaia @leerob @lfades | ||
/examples/ @timneutkens @ijjk @shuding @leerob @lfades |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,90 @@ | ||
on: workflow_dispatch | ||
|
||
name: Build next-swc native binaries | ||
|
||
jobs: | ||
build-native: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-18.04, macos-latest, windows-latest] | ||
description: [default] | ||
include: | ||
- os: ubuntu-18.04 | ||
target: x86_64-unknown-linux-gnu | ||
- os: windows-latest | ||
target: x86_64-pc-windows-msvc | ||
- os: macos-latest | ||
target: x86_64-apple-darwin | ||
- os: macos-latest | ||
target: aarch64-apple-darwin | ||
description: m1 | ||
|
||
name: next-swc - ${{ matrix.os }} - ${{ matrix.target }} - node@14 | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
check-latest: true | ||
- name: Install | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: nightly-2021-03-25 | ||
target: ${{ matrix.target }} | ||
- name: Cache cargo registry | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.cargo/registry | ||
key: stable-${{ matrix.os }}-node@14-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache cargo index | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.cargo/git | ||
key: stable-${{ matrix.os }}-node@14-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache native binary | ||
id: binary-cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: packages/next/native/** | ||
key: next-swc-nightly-2021-03-25-${{ matrix.target }}-${{ hashFiles('.github/workflows/build_native.yml', 'packages/next/build/swc/**') }} | ||
- name: Cross build aarch64 setup | ||
if: ${{ matrix.target == 'aarch64-apple-darwin' && steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} | ||
run: | | ||
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*; | ||
export CC=$(xcrun -f clang); | ||
export CXX=$(xcrun -f clang++); | ||
SYSROOT=$(xcrun --sdk macosx --show-sdk-path); | ||
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT"; | ||
- name: 'Build' | ||
if: steps.binary-cache.outputs.cache-hit != true | ||
run: yarn build-native --target ${{ matrix.target }} | ||
env: | ||
MACOSX_DEPLOYMENT_TARGET: '10.13' | ||
working-directory: packages/next | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: next-swc-binaries | ||
path: packages/next/native/next-swc.*.node | ||
- name: Clear the cargo caches | ||
run: | | ||
cargo install cargo-cache --no-default-features --features ci-autoclean | ||
cargo-cache | ||
commit: | ||
needs: build-native | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: next-swc-binaries | ||
path: packages/next/native | ||
- uses: EndBug/add-and-commit@v7 | ||
with: | ||
add: 'packages/next/native --force' | ||
message: 'Build next-swc binaries' |
Oops, something went wrong.