Skip to content

Commit 1e307de

Browse files
committed
feat: implement visionOS CI (#54)
feat: use Xcode beta globally feat: use callstack/hermes-visionos fork feat: test Hermes feat: reset cache keys fix: use callstack/hermes fix: use correct hermes source tarball fix: use never xcode version test only JSC fix: change Xcode version fix: use m1 executor feat: add cocoapods cache fix: remove hermes from cache keys fix: rbenv reset cache test: use 15.2 fix: run visionos CI on every PR (#62) chore: disable some of upstream pipelines (#33) * chore: disable some of upstream pipelines * tests: update snapshot for visionOS * chore: disable more jobs, fix isVisionOS * fix: Keyboard.js, adjust pipeline_selection.js * feat: run iOS tests every night chore: disable android tests (#39) fix: prevent from running the testAll.yml on main (#41) fix: ci on main (#44) fix: remove windows jobs (#126) * fix: remove windows jobs * fix: sync jobs.yml
1 parent 8249225 commit 1e307de

File tree

10 files changed

+28
-1640
lines changed

10 files changed

+28
-1640
lines changed

.circleci/config.yml

Lines changed: 1 addition & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -38,77 +38,4 @@ jobs:
3838
- image: debian:bullseye
3939
resource_class: small
4040
steps:
41-
- run:
42-
name: Install Yarn
43-
command: |
44-
apt update
45-
apt install -y wget git curl jq
46-
47-
apt-get update
48-
apt-get install -y ca-certificates curl gnupg
49-
mkdir -p /etc/apt/keyrings
50-
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
51-
52-
NODE_MAJOR=18
53-
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
54-
apt-get update
55-
56-
apt install -y nodejs
57-
npm install --global yarn
58-
- checkout
59-
- run:
60-
name: Yarn Install
61-
command: yarn install
62-
- when:
63-
condition:
64-
or:
65-
- equal: [ main, << pipeline.git.branch >> ]
66-
- matches:
67-
pattern: /0\.[0-9]+[\.[0-9]+]?-stable/
68-
value: << pipeline.git.branch >>
69-
steps:
70-
- run:
71-
name: "[Main or Stable] Create input for config to test everything"
72-
command: |
73-
mkdir -p /tmp/circleci/
74-
echo '{ "run_all": true }' > /tmp/circleci/pipeline_config.json
75-
- when:
76-
condition:
77-
not:
78-
or:
79-
- equal: [ main, << pipeline.git.branch >> ]
80-
- matches:
81-
pattern: /0\.[0-9]+[\.[0-9]+]?-stable/
82-
value: << pipeline.git.branch >>
83-
steps:
84-
- run:
85-
name: "[PR Branch] Filter jobs"
86-
command: |
87-
if [[ -z "$CIRCLE_PULL_REQUEST" ]]; then
88-
echo "Not in a PR. Can't filter properly outside a PR. Please open a PR so that we can run the proper CI tests."
89-
echo "For safety, we run all the tests!"
90-
mkdir -p /tmp/circleci/
91-
echo '{ "run_all": true }' > /tmp/circleci/pipeline_config.json
92-
else
93-
PR_NUMBER="${CIRCLE_PULL_REQUEST##*/}"
94-
node ./scripts/circleci/pipeline_selection.js filter-jobs
95-
fi
96-
- run:
97-
name: Create config
98-
description: Generates a configuration on the fly, depending on the files that have been modified
99-
command: |
100-
node ./scripts/circleci/pipeline_selection.js create-configs
101-
- store_artifacts:
102-
path: .circleci/generated_config.yml
103-
destination: generated_config.yml
104-
- continuation/continue:
105-
configuration_path: .circleci/generated_config.yml
106-
107-
# our single workflow, that triggers the setup job defined above
108-
workflows:
109-
always-run:
110-
jobs:
111-
- choose_ci_jobs:
112-
filters:
113-
tags:
114-
only: /.*/
41+
- run: echo "There is nothing here, just an empty job. Everything has been moved to GitHub Action"
Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +0,0 @@
1-
# -------------------------
2-
# EXECUTORS
3-
# -------------------------
4-
executors:
5-
nodelts:
6-
<<: *defaults
7-
docker:
8-
- image: *nodelts_image
9-
resource_class: "large"
10-
nodeprevlts:
11-
<<: *defaults
12-
docker:
13-
- image: *nodeprevlts_image
14-
resource_class: "large"
15-
# Executor with Node & Java used to inspect and lint
16-
node-browsers-small:
17-
<<: *defaults
18-
docker:
19-
- image: *nodelts_browser_image
20-
resource_class: "small"
21-
node-browsers-medium:
22-
<<: *defaults
23-
docker:
24-
- image: *nodelts_browser_image
25-
resource_class: "medium"
26-
reactnativeandroid-xlarge:
27-
<<: *android-defaults
28-
resource_class: "xlarge"
29-
reactnativeandroid-large:
30-
<<: *android-defaults
31-
resource_class: "large"
32-
reactnativeios:
33-
<<: *defaults
34-
macos:
35-
xcode: *xcode_version
36-
resource_class: macos.m1.medium.gen1
37-
environment:
38-
- RCT_BUILD_HERMES_FROM_SOURCE: true

0 commit comments

Comments
 (0)