Skip to content

feat: Support for remaining SVG stroke properties in CSS (#7808) #2314

feat: Support for remaining SVG stroke properties in CSS (#7808)

feat: Support for remaining SVG stroke properties in CSS (#7808) #2314

name: Example macOS build check
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
- .github/workflows/example-macos-build-check.yml
- packages/react-native-reanimated/RNReanimated.podspec
- packages/react-native-reanimated/scripts/reanimated_utils.rb
- packages/react-native-reanimated/apple/**
- packages/react-native-reanimated/Common/**
- packages/react-native-worklets/RNWorklets.podspec
- packages/react-native-worklets/scripts/worklets_utils.rb
- packages/react-native-worklets/apple/**
- packages/react-native-worklets/Common/**
- apps/macos-example/**
merge_group:
branches:
- main
push:
branches:
- main
paths:
- .github/workflows/example-macos-build-check.yml
- packages/react-native-reanimated/RNReanimated.podspec
- packages/react-native-reanimated/scripts/reanimated_utils.rb
- packages/react-native-reanimated/apple/**
- packages/react-native-reanimated/Common/**
- packages/react-native-worklets/RNWorklets.podspec
- packages/react-native-worklets/scripts/worklets_utils.rb
- packages/react-native-worklets/apple/**
- packages/react-native-worklets/Common/**
- apps/macos-example/**
workflow_call:
workflow_dispatch:
jobs:
example-macos-build-check:
if: github.repository == 'software-mansion/react-native-reanimated' && false # Disable this workflow until react-native-macos supports Fabric
runs-on: macos-14
env:
WORKING_DIRECTORY: apps/macos-example
REANIMATED_DIR: packages/react-native-reanimated
concurrency:
group: macos-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions`
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
# TODO: Add caching for node_modules and artifacts that will work with monorepo setup.
- name: Install monorepo node dependencies
run: yarn install --immutable
- name: Build Reanimated package
working-directory: ${{ env.REANIMATED_DIR }}
run: yarn build
- name: Install Pods
working-directory: ${{ env.WORKING_DIRECTORY }}/macos
run: |
bundle install
bundle exec pod update
- name: Build app
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn macos