Skip to content

Commit

Permalink
fix: remove windows jobs (#126)
Browse files Browse the repository at this point in the history
* fix: remove windows jobs

* fix: sync jobs.yml
  • Loading branch information
okwasniewski authored Mar 7, 2024
1 parent 0c7f6ec commit 1c5159e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 70 deletions.
69 changes: 2 additions & 67 deletions .circleci/configurations/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ jobs:
PACKAGE=$(cat build/react-native-package-version)
PATH_TO_PACKAGE="$REPO_ROOT/build/$PACKAGE"
node ./scripts/releases/update-template-package.js "{\"react-native\":\"file:$PATH_TO_PACKAGE\"}"
node ./scripts/template/initialize.js --reactNativeRootPath $REPO_ROOT --templateName $PROJECT_NAME --templateConfigPath "$REPO_ROOT/packages/react-native" --directory "/tmp/$PROJECT_NAME"
node ./scripts/e2e/init-template-e2e.js --projectName $PROJECT_NAME --templatePath "$REPO_ROOT/packages/react-native" --directory "/tmp/$PROJECT_NAME" --verbose
- with_xcodebuild_cache:
podfile_lock_path: << parameters.podfile_lock_path >>
pods_build_folder: << parameters.pods_build_folder >>
Expand Down Expand Up @@ -658,71 +658,6 @@ jobs:
-scheme RNTester-visionOS \
-sdk xrsimulator
# -------------------------
# JOBS: Windows
# -------------------------
test_windows:
executor:
name: win/default
environment:
- CHOCO_CACHE_DIR: "C:\\ChocoCache"
steps:
- checkout_code_with_cache

- restore_cache:
keys:
- *windows_choco_cache_key

- run:
name: Choco cache
# Cache our dependencies which can be flakey to download
command: |
if (!Test-Path $env:CHOCO_CACHE_DIR) {
mkdir $env:CHOCO_CACHE_DIR
}
choco config set --name cacheLocation --value $env:CHOCO_CACHE_DIR
- run:
name: Disable NVM
# Use choco to manage node versions due to https://github.com/npm/cli/issues/4234
command: nvm off

- run:
name: Install Node JS
# Note: Version set separately for non-Windows builds, see above.
command: choco install nodejs --version=18.18.0 --allow-downgrade -y

# Setup Dependencies
- run:
name: Enable Yarn with corepack
command: corepack enable

- restore_cache:
keys:
- *windows_yarn_cache_key
- run:
name: "Yarn: Install Dependencies"
command: yarn install --frozen-lockfile --non-interactive

- save_cache:
key: *windows_yarn_cache_key
paths:
- C:\Users\circleci\AppData\Local\Yarn

- save_cache:
key: *windows_choco_cache_key
paths:
- $env:CHOCO_CACHE_DIR

# -------------------------
# Run Tests
- run:
name: "Flow Check"
command: yarn flow-check
- run:
name: "Run Tests: JavaScript Tests"
command: yarn test

# -------------------------
# JOBS: Build Hermes
# -------------------------
Expand Down Expand Up @@ -1383,4 +1318,4 @@ jobs:
command: echo "//registry.npmjs.org/:_authToken=${CIRCLE_NPM_TOKEN}" > ~/.npmrc
- run:
name: Find and publish all bumped packages
command: node ./scripts/monorepo/find-and-publish-all-bumped-packages.js
command: node ./scripts/releases-ci/publish-updated-packages.js
2 changes: 0 additions & 2 deletions packages/react-native/Libraries/StyleSheet/StyleSheetTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ export type EdgeInsetsValue = {
bottom: number,
};

export type CursorValue = ?('auto' | 'pointer');

export type DimensionValue = number | string | 'auto' | AnimatedNode | null;
export type AnimatableNumericValue = number | AnimatedNode;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7422,7 +7422,6 @@ export type EdgeInsetsValue = {
right: number,
bottom: number,
};
export type CursorValue = ?(\\"auto\\" | \\"pointer\\");
export type DimensionValue = number | string | \\"auto\\" | AnimatedNode | null;
export type AnimatableNumericValue = number | AnimatedNode;
export type CursorValue = \\"auto\\" | \\"pointer\\";
Expand Down

0 comments on commit 1c5159e

Please sign in to comment.