Skip to content

Commit 10ddd16

Browse files
andrewdacenkofacebook-github-bot
authored andcommitted
Add basic steps in CI (facebook#52225)
Summary: Pull Request resolved: facebook#52225 This diff prepares the RN CI to build and run Fantom Tests ## Changelog: [Internal] - Fantom in RN CLI Differential Revision: D70097944
1 parent cf67ec1 commit 10ddd16

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Run Fantom Tests
2+
# inputs:
3+
# <name of the input>:
4+
# required: true | false
5+
# description: A description of the input parameter
6+
7+
8+
runs:
9+
using: composite
10+
steps:
11+
- name: Install dependencies
12+
shell: bash
13+
run: |
14+
sudo apt update
15+
sudo apt install -y git cmake openssl
16+
- name: Setup node.js
17+
uses: ./.github/actions/setup-node
18+
- name: Run yarn
19+
uses: ./.github/actions/yarn-install
20+
- name: Prepare 3p dependencies with Gradle
21+
shell: bash
22+
run: ./private/react-nattive-fantom/prepare.sh
23+
- name: Build Fantom
24+
shell: bash
25+
run: ./private/react-nattive-fantom/tester/build.sh
26+
- name: Run Tests
27+
shell: bash
28+
run: yarn fantom

.github/workflows/test-all.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,14 @@ jobs:
388388
hermes-version: ${{ needs.prepare_hermes_workspace.outputs.hermes-version }}
389389
react-native-version: ${{ needs.prepare_hermes_workspace.outputs.react-native-version }}
390390

391+
run_fantom_tests:
392+
runs-on: ubuntu-latest
393+
steps:
394+
- name: Checkout
395+
uses: actions/checkout@v4
396+
- name: Build and Test Fantom
397+
uses: ./.github/actions/run-fantom-tests
398+
391399
build_hermesc_windows:
392400
runs-on: windows-2025
393401
needs: prepare_hermes_workspace

0 commit comments

Comments
 (0)