Skip to content

Commit

Permalink
skip other builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Aug 14, 2023
1 parent 48c55d8 commit 04ad11c
Showing 1 changed file with 58 additions and 58 deletions.
116 changes: 58 additions & 58 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,64 +79,64 @@ jobs:
fail-fast: false
matrix:
settings:
- host:
- 'self-hosted'
- 'macos'
- 'arm64'

target: 'x86_64-apple-darwin'
build: |
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
strip -x packages/next-swc/native/next-swc.*.node
- host:
- 'self-hosted'
- 'macos'
- 'arm64'

target: 'aarch64-apple-darwin'
build: |
export CC=$(xcrun -f clang);
export CXX=$(xcrun -f clang++);
SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
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
strip -x packages/next-swc/native/next-swc.*.node
- host:
- 'self-hosted'
- 'windows'
- 'x64'

build: |
corepack enable
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
target: 'x86_64-pc-windows-msvc'

- host:
- 'self-hosted'
- 'windows'
- 'x64'

build: |
corepack enable
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
target: 'i686-pc-windows-msvc'

- host:
- 'self-hosted'
- 'windows'
- 'x64'

target: 'aarch64-pc-windows-msvc'
build: |
corepack enable
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
# - host:
# - 'self-hosted'
# - 'macos'
# - 'arm64'

# target: 'x86_64-apple-darwin'
# build: |
# 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
# strip -x packages/next-swc/native/next-swc.*.node

# - host:
# - 'self-hosted'
# - 'macos'
# - 'arm64'

# target: 'aarch64-apple-darwin'
# build: |
# export CC=$(xcrun -f clang);
# export CXX=$(xcrun -f clang++);
# SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
# export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
# 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
# strip -x packages/next-swc/native/next-swc.*.node

# - host:
# - 'self-hosted'
# - 'windows'
# - 'x64'

# build: |
# corepack enable
# 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
# target: 'x86_64-pc-windows-msvc'

# - host:
# - 'self-hosted'
# - 'windows'
# - 'x64'

# build: |
# corepack enable
# 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
# target: 'i686-pc-windows-msvc'

# - host:
# - 'self-hosted'
# - 'windows'
# - 'x64'

# target: 'aarch64-pc-windows-msvc'
# build: |
# corepack enable
# 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

- host:
- 'self-hosted'
Expand Down

0 comments on commit 04ad11c

Please sign in to comment.