Skip to content

Commit

Permalink
CI - Build Reanimated on Windows (software-mansion#3759)
Browse files Browse the repository at this point in the history
## Description

CI to test build app with Reanimated on Windows operation system.
  • Loading branch information
piaskowyk authored and fluiddot committed Jun 5, 2023
1 parent f5e32fe commit 2fc98d9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-on-windows.yml
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

0 comments on commit 2fc98d9

Please sign in to comment.