Skip to content

Commit bc6ef21

Browse files
added action to build the demo app
1 parent 590287e commit bc6ef21

File tree

1 file changed

+35
-115
lines changed

1 file changed

+35
-115
lines changed

.github/workflows/smoke-checks.yml

Lines changed: 35 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
device: "iPhone 12"
7676
ios: "15.0"
7777
xcode: "13.0"
78-
- name: Run UI Tests (Debug)
78+
- name: Run Tests (Debug)
7979
run: bundle exec fastlane test_ui device:"iPhone 12 (15.0)"
8080
- uses: 8398a7/action-slack@v3
8181
with:
@@ -88,117 +88,37 @@ jobs:
8888
MATRIX_CONTEXT: ${{ toJson(matrix) }}
8989
if: ${{ github.event_name == 'push' && failure() }}
9090

91-
# build-apps:
92-
# name: Build Sample + Demo Apps
93-
# runs-on: macos-11
94-
# steps:
95-
# - uses: actions/checkout@v1
96-
# - name: Set build image var
97-
# run: echo "ImageVersion=$ImageVersion" >> $GITHUB_ENV
98-
# - name: Cache RubyGems
99-
# uses: actions/cache@v2
100-
# id: rubygem-cache
101-
# with:
102-
# path: vendor/bundle
103-
# key: ${{ runner.os }}-${{ env.ImageVersion }}-gem-${{ hashFiles('**/Gemfile.lock') }}
104-
# restore-keys: ${{ runner.os }}-${{ env.ImageVersion }}-gem-
105-
# - name: Cache Mint
106-
# uses: actions/cache@v2
107-
# id: mint-cache
108-
# with:
109-
# path: /usr/local/lib/mint
110-
# key: ${{ runner.os }}-mint-${{ hashFiles('./Mintfile') }}
111-
# restore-keys: ${{ runner.os }}-mint-
112-
# - uses: ./.github/actions/bootstrap
113-
# - name: Build Sample App
114-
# run: bundle exec fastlane build_sample
115-
# - name: Build Demo App
116-
# run: bundle exec fastlane build_demo
117-
# - name: Build iMessageClone App
118-
# run: bundle exec fastlane build_imessage_clone
119-
# - name: Build SlackClone App
120-
# run: bundle exec fastlane build_slack_clone
121-
# - name: Build MessengerClone App
122-
# run: bundle exec fastlane build_messenger_clone
123-
# - name: Build YouTubeClone App
124-
# run: bundle exec fastlane build_youtube_clone
125-
# - uses: 8398a7/action-slack@v3
126-
# with:
127-
# status: ${{ job.status }}
128-
# text: "You shall not pass!"
129-
# job_name: "Build Sample + Demo Apps"
130-
# fields: message,commit,author,action,workflow,job,took
131-
# env:
132-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
133-
# MATRIX_CONTEXT: ${{ toJson(matrix) }}
134-
# if: ${{ github.event_name == 'push' && failure() }}
135-
136-
# spm-integration:
137-
# name: Test Integration (SPM)
138-
# runs-on: macos-11
139-
# steps:
140-
# - uses: actions/checkout@v1
141-
# - name: Set build image var
142-
# run: echo "ImageVersion=$ImageVersion" >> $GITHUB_ENV
143-
# - name: Cache RubyGems
144-
# uses: actions/cache@v2
145-
# id: rubygem-cache
146-
# with:
147-
# path: vendor/bundle
148-
# key: ${{ runner.os }}-${{ env.ImageVersion }}-gem-${{ hashFiles('**/Gemfile.lock') }}
149-
# restore-keys: ${{ runner.os }}-${{ env.ImageVersion }}-gem-
150-
# - name: Cache Mint
151-
# uses: actions/cache@v2
152-
# id: mint-cache
153-
# with:
154-
# path: /usr/local/lib/mint
155-
# key: ${{ runner.os }}-mint-${{ hashFiles('./Mintfile') }}
156-
# restore-keys: ${{ runner.os }}-mint-
157-
# - uses: ./.github/actions/bootstrap
158-
# - name: Build Test Project
159-
# run: bundle exec fastlane spm_integration
160-
# - uses: 8398a7/action-slack@v3
161-
# with:
162-
# status: ${{ job.status }}
163-
# text: "You shall not pass!"
164-
# job_name: "Test Integration (SPM)"
165-
# fields: message,commit,author,action,workflow,job,took
166-
# env:
167-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
168-
# MATRIX_CONTEXT: ${{ toJson(matrix) }}
169-
# if: ${{ github.event_name == 'push' && failure() }}
170-
171-
# cocoapods-integration:
172-
# name: Test Integration (CocoaPods)
173-
# runs-on: macos-11
174-
# steps:
175-
# - uses: actions/checkout@v1
176-
# - name: Set build image var
177-
# run: echo "ImageVersion=$ImageVersion" >> $GITHUB_ENV
178-
# - name: Cache RubyGems
179-
# uses: actions/cache@v2
180-
# id: rubygem-cache
181-
# with:
182-
# path: vendor/bundle
183-
# key: ${{ runner.os }}-${{ env.ImageVersion }}-gem-${{ hashFiles('**/Gemfile.lock') }}
184-
# restore-keys: ${{ runner.os }}-${{ env.ImageVersion }}-gem-
185-
# - name: Cache Mint
186-
# uses: actions/cache@v2
187-
# id: mint-cache
188-
# with:
189-
# path: /usr/local/lib/mint
190-
# key: ${{ runner.os }}-mint-${{ hashFiles('./Mintfile') }}
191-
# restore-keys: ${{ runner.os }}-mint-
192-
# - uses: ./.github/actions/bootstrap
193-
# - name: Build Test Project
194-
# run: bundle exec fastlane cocoapods_integration
195-
# - uses: 8398a7/action-slack@v3
196-
# with:
197-
# status: ${{ job.status }}
198-
# text: "You shall not pass!"
199-
# job_name: "Test Integration (CocoaPods)"
200-
# fields: message,commit,author,action,workflow,job,took
201-
# env:
202-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
203-
# MATRIX_CONTEXT: ${{ toJson(matrix) }}
204-
# if: ${{ github.event_name == 'push' && failure() }}
91+
build-apps:
92+
name: Build Demo App
93+
runs-on: macos-11
94+
steps:
95+
- uses: actions/checkout@v1
96+
- name: Set build image var
97+
run: echo "ImageVersion=$ImageVersion" >> $GITHUB_ENV
98+
- name: Cache RubyGems
99+
uses: actions/cache@v2
100+
id: rubygem-cache
101+
with:
102+
path: vendor/bundle
103+
key: ${{ runner.os }}-${{ env.ImageVersion }}-gem-${{ hashFiles('**/Gemfile.lock') }}
104+
restore-keys: ${{ runner.os }}-${{ env.ImageVersion }}-gem-
105+
- name: Cache Mint
106+
uses: actions/cache@v2
107+
id: mint-cache
108+
with:
109+
path: /usr/local/lib/mint
110+
key: ${{ runner.os }}-mint-${{ hashFiles('./Mintfile') }}
111+
restore-keys: ${{ runner.os }}-mint-
112+
- uses: ./.github/actions/bootstrap
113+
- name: Build Demo App
114+
run: bundle exec fastlane build_demo
115+
- uses: 8398a7/action-slack@v3
116+
with:
117+
status: ${{ job.status }}
118+
text: "You shall not pass!"
119+
job_name: "Build Demo App"
120+
fields: message,commit,author,action,workflow,job,took
121+
env:
122+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
123+
MATRIX_CONTEXT: ${{ toJson(matrix) }}
124+
if: ${{ github.event_name == 'push' && failure() }}

0 commit comments

Comments
 (0)