Skip to content

Commit 4e7c3c8

Browse files
author
Thomas Taschauer
committed
automatically run cmake using fastlane
1 parent 2dbca54 commit 4e7c3c8

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/ios_main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414

1515
- name: pods
1616
run: pod install
17-
- name: build.sh
18-
run: bash build-simulator.sh
1917

2018
- name: brew
2119
run: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

fastlane/Fastfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,35 @@ default_platform(:ios)
1818
platform :ios do
1919
desc "Push a new release build to the App Store"
2020
lane :deployPro do
21-
# sh("bash", "../build-device.sh")
21+
sh("bash", "../build-device.sh")
22+
clear_derived_data
2223
build_app(workspace: "OpenDocumentReader.xcworkspace", scheme: "ODR Full")
2324
upload_to_app_store(
2425
app_identifier: "at.tomtasche.reader",
2526
skip_screenshots: true,
2627
skip_metadata: true
2728
)
28-
# sh("bash", "../build-simulator.sh")
29+
sh("bash", "../build-simulator.sh")
30+
clear_derived_data
2931
end
3032

3133
desc "Push a new release build to the App Store"
3234
lane :deployLite do
33-
# sh("bash", "../build-device.sh")
35+
sh("bash", "../build-device.sh")
36+
clear_derived_data
3437
build_app(workspace: "OpenDocumentReader.xcworkspace", scheme: "ODR Lite")
3538
upload_to_app_store(
3639
app_identifier: "at.tomtasche.reader.lite1",
3740
skip_screenshots: true,
3841
skip_metadata: true
3942
)
40-
# sh("bash", "../build-simulator.sh")
43+
sh("bash", "../build-simulator.sh")
44+
clear_derived_data
4145
end
4246

4347
lane :tests do
48+
sh("bash", "../build-simulator.sh")
49+
clear_derived_data
4450
run_tests(
4551
workspace: "OpenDocumentReader.xcworkspace",
4652
scheme: "ODR Full",

0 commit comments

Comments
 (0)