File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 77 - main
88
99jobs :
10- build :
10+ build-android :
1111 runs-on : ubuntu-22.04
1212 steps :
1313 - name : Checkout code
2121 - name : Build React Native
2222 run : |
2323 docker run --rm --ulimit nofile=10240 -v "$(pwd)/scripts/":/scripts -v "$(pwd)/react-native/":/react-native -w /react-native react-native-community/react-native /bin/sh -c "/scripts/test-react-native-setup.sh"
24+
25+ build-fantom :
26+ runs-on : ubuntu-22.04
27+ steps :
28+ - name : Checkout code
29+ uses : actions/checkout@v2
30+ - name : Build Docker Image
31+ run : |
32+ docker build -t react-native-community/react-native .
33+ docker run --rm --name rn-env react-native-community/react-native /bin/sh -c "npx envinfo"
34+ - name : Checkout React Native
35+ run : git clone https://github.com/facebook/react-native.git
36+ - name : Build React Native
37+ run : |
38+ docker run --rm --ulimit nofile=10240 -v "$(pwd)/scripts/":/scripts -v "$(pwd)/react-native/":/react-native -w /react-native react-native-community/react-native /bin/sh -c "/scripts/test-react-native-fantom.sh"
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -e
4+
5+ echo " Configuring environment for Fantom tests"
6+ sudo apt update
7+ sudo apt install -y git cmake openssl libssl-dev clang
8+ git config --global --add safe.directory ' *'
9+ yarn install
10+ yarn fantom
You can’t perform that action at this time.
0 commit comments