Skip to content

Commit 245c59c

Browse files
authored
Fix build issues (#2020)
1 parent 83e19d3 commit 245c59c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/android.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,16 @@ jobs:
158158
PACKAGE_NAME: ${{ matrix.working-directory == 'fabricexample' && 'com.fabricexample' || 'com.rnskia' }}
159159
run: adb shell monkey -p ${{ env.PACKAGE_NAME }} 1
160160

161+
# On fabric, the system fonts are slightly different
162+
# so wont run the paragraph tests there for now
161163
- name: Run e2e Tests
162164
working-directory: package
163-
run: CI=true yarn e2e
165+
run: |
166+
if [ "${{ matrix.working-directory }}" = "example" ]; then
167+
CI=true yarn e2e
168+
elif [ "${{ matrix.working-directory }}" = "fabricexample" ]; then
169+
CI=true yarn e2e --testPathIgnorePatterns Paragraphs
170+
fi
164171
165172
- uses: actions/upload-artifact@v2
166173
if: failure()

package/cpp/api/JsiSkApi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
#include "JsiSkShaderFactory.h"
4545
#include "JsiSkSurfaceFactory.h"
4646
#include "JsiSkTextBlobFactory.h"
47-
#include "JsiSkTypeFaceFontProviderFactory.h"
4847
#include "JsiSkTypeface.h"
4948
#include "JsiSkTypefaceFactory.h"
49+
#include "JsiSkTypefaceFontProviderFactory.h"
5050
#include "JsiSkVertices.h"
5151

5252
namespace RNSkia {

package/cpp/api/JsiSkTypeFaceFontProviderFactory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include "JsiSkData.h"
99
#include "JsiSkHostObjects.h"
10-
#include "JsiSkTypeFaceFontProvider.h"
10+
#include "JsiSkTypefaceFontProvider.h"
1111

1212
namespace RNSkia {
1313

0 commit comments

Comments
 (0)