Skip to content

Commit

Permalink
docs: delete test ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chanhihi authored Mar 5, 2024
1 parent 1a5c865 commit 669556c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,38 +7,36 @@ on:
branches: [ "main" ]

jobs:
build-and-test-module03:
name: Build and Test Module03
build-module03:
name: Build Module03
runs-on: macos-latest

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

- name: Build and Test Module03 Project
- name: Build Module03 Project
run: |
xcodebuild build-for-testing -project Module03/weatherfinal_proj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -derivedDataPath './build'
xcodebuild test-without-building -project Module03/weatherfinal_proj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -derivedDataPath './build'
- name: Upload Module03 Build Artifacts
uses: actions/upload-artifact@v3
with:
name: module03-build-artifacts
path: Module03/build/Build/Products/*

build-and-test-weatherplus:
name: Build and Test WeatherPlus
build-weatherplus:
name: Build WeatherPlus
runs-on: macos-latest
needs: build-and-test-module03
needs: build-module03

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

- name: Build and Test WeatherPlus Project
- name: Build WeatherPlus Project
run: |
xcodebuild build-for-testing -project WeatherApp/weatherplusproj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -derivedDataPath './build'
xcodebuild test-without-building -project WeatherApp/weatherplusproj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -derivedDataPath './build'
- name: Upload WeatherPlus Build Artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 669556c

Please sign in to comment.