forked from software-mansion/react-native-reanimated
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI - Build Reanimated on Windows (software-mansion#3759)
## Description CI to test build app with Reanimated on Windows operation system.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Test build on Windows | ||
on: | ||
pull_request: | ||
paths: | ||
- '.github/workflows/build-on-windows.yml' | ||
- 'android/**' | ||
- 'Common/**' | ||
- package.json | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
concurrency: | ||
group: build-on-windows-${{ github.ref }} | ||
cancel-in-progress: true | ||
steps: | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: '11' | ||
- name: Create React Native App | ||
run: npx react-native init App | ||
- name: Install Reanimated | ||
working-directory: App | ||
run: yarn add github:software-mansion/react-native-reanimated#${{ github.ref }} | ||
- name: Build Android App | ||
working-directory: App/android | ||
run: ./gradlew assembleDebug --console=plain |