Skip to content

Commit

Permalink
Move build to CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico committed Sep 7, 2022
1 parent 7181c32 commit 39be52e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 35 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ jobs:
nvm i node
node publish_docker.js
build:
<<: *defaults
steps:
- checkout
- run: *build-docker
- run:
name: Check if Emulator (Headless) starts
command: docker run --rm -v "$(pwd)/scripts/":/scripts react-native-community/react-native /bin/sh -c "/scripts/test-emulator-headless.sh"
- run:
name: Checkout React Native
command: git clone https://github.com/facebook/react-native.git
- run:
name: Build React Native
command: 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"

workflows:
version: 2
main:
Expand All @@ -33,3 +48,4 @@ workflows:
filters:
branches:
only: master
- build
35 changes: 0 additions & 35 deletions .github/workflows/build.yaml

This file was deleted.

0 comments on commit 39be52e

Please sign in to comment.