Skip to content

Commit

Permalink
Update and rename ci.yml to build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aporat authored Feb 14, 2025
1 parent a392cf9 commit e8f5718
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 38 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
name: ${{ matrix.platform }} on ${{ matrix.os }}
runs-on: macos-15
env:
scheme: APProgressToolbar
strategy:
fail-fast: false
matrix:
include:
- platform: iPhone 15 Pro
os: 17.5
- platform: iPhone 16 Pro
os: 18.2
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Run Build on ${{ matrix.platform }} (iOS ${{ matrix.os }})
run: |
xcodebuild build \
-scheme $scheme \
-destination 'platform=iOS Simulator,name=${{ matrix.platform }},OS=${{ matrix.os }}'
38 changes: 0 additions & 38 deletions .github/workflows/ci.yml

This file was deleted.

0 comments on commit e8f5718

Please sign in to comment.