mirror of
https://github.com/selfxyz/self.git
synced 2026-02-21 03:00:36 -05:00
attempt to have apps cocoa pods etc be built in ci (#590)
This commit is contained in:
31
.github/workflows/app.yml
vendored
31
.github/workflows/app.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user