Skip to content

Commit

Permalink
build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilioPelaez committed Dec 19, 2024
1 parent 866674e commit 60bb39b
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build Project

on:
push:
pull_request:

jobs:
build:
runs-on: macos-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Apple Xcode Select
uses: BoundfoxStudios/action-xcode-select@v1
with:
version: latest
beta: false

- name: Build iOS
uses: sersoft-gmbh/xcodebuild-action@v3
with:
project: Example/MonarchExample.xcodeproj
scheme: MonarchExample
destination: generic/platform=iOS Simulator
action: build

- name: Build Mac Raw
run: swift build

- name: Build Watch
uses: sersoft-gmbh/xcodebuild-action@v3
with:
project: Example/MonarchExample.xcodeproj
scheme: MonarchExampleWatch
destination: generic/platform=watchOS Simulator
action: build

0 comments on commit 60bb39b

Please sign in to comment.