From 253d414dd42183f334261d2a2f6c01bcfbd96392 Mon Sep 17 00:00:00 2001 From: Aaron DeRuvo Date: Wed, 4 Jun 2025 14:01:23 +0200 Subject: [PATCH] attempt to have apps cocoa pods etc be built in ci (#590) --- .github/workflows/app.yml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index 261ebbea9..b7f273488 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -1,5 +1,12 @@ name: App CI - +env: + # Build environment versions + NODE_VERSION: 18 + RUBY_VERSION: 3.2 + JAVA_VERSION: 17 + # Path configuration + WORKSPACE: ${{ github.workspace }} + APP_PATH: ${{ github.workspace }}/app on: push: paths: @@ -35,3 +42,25 @@ jobs: - name: Test run: yarn test working-directory: ./app + build: + runs-on: macos-14 + steps: + - uses: actions/checkout@v4 + + - name: Set up Xcode + uses: maxim-lobanov/setup-xcode@v1 + with: + # some cocoapods won't compile with xcode 16.3 + xcode-version: "16.2" + + - uses: actions/checkout@v4 + - name: Install Mobile Dependencies + uses: ./.github/actions/mobile-setup + with: + app_path: ${{ env.APP_PATH }} + node_version: ${{ env.NODE_VERSION }} + ruby_version: ${{ env.RUBY_VERSION }} + workspace: ${{ env.WORKSPACE }} + - name: Install And Build + run: yarn install-app + working-directory: ./app