This commit is contained in:
Nick Gerleman
2022-10-14 07:26:16 -07:00
parent 55d614c4c2
commit 6168ad818e
4 changed files with 50 additions and 20 deletions

View File

@@ -16,23 +16,3 @@ jobs:
- name: Build
run: ./gradlew assemble${{ matrix.mode }}
test:
name: Unit Tests (${{ matrix.mode }})
runs-on: ubuntu-latest
strategy:
matrix:
mode: [Debug]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-android
- name: Build
run: ./gradlew assemble${{ matrix.mode }}
- name: List
run: ls -R -l /home/runner/work/yoga/yoga/java
- name: Run Java unit tests
run: ./gradlew :yoga:test${{ matrix.mode }}UnitTest --info

27
.github/workflows/valiadate-apple.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Apple
on: [push, pull_request, workflow_dispatch]
jobs:
lint-pods:
name: Lint Podspecs
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup-apple
- name: pod spec lint
run: pod spec lint --verbose
clang-format:
name: Clang Format
runs-on: ubuntu-latest
steps:
- name: clang-format
uses: ./.github/actions/clang-format
with:
directory: ./YogaKit