Skip to content

Commit

Permalink
Better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeShirley committed Sep 8, 2023
1 parent 1e1a313 commit 345391a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,26 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: "Test SDK versions"
run: |
xcodebuild -showsdks
- name: "Xcode Test"
- name: "Xcode Build"
uses: sersoft-gmbh/xcodebuild-action@v2
with:
project: Mlem.xcodeproj
scheme: Mlem
destination: platform=iOS Simulator,name=iPhone 14,OS=16.2
action: build
result-bundle-path: test_results.xcresult
result-bundle-path: build_results.xcresult

#- name: Build with xcodebuild
# run: |
# xcodebuild -project ./Mlem.xcodeproj -scheme "Mlem" -sdk "iphonesimulator16.2" -quiet -resultBundlePath "build_results.xcresult"
- uses: kishikawakatsumi/xcresulttool@v1
name: Publish build results
with:
path: test_results.xcresult
path: build_results.xcresult
upload-bundles: never # Permission issues with uploading
show-passed-tests: false
if: success() || failure()
# ^ This is important because the action will be run
# even if the test fails in the previous step.
Expand All @@ -48,6 +48,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: "Test SDK versions"
run: |
xcodebuild -showsdks
Expand All @@ -61,10 +62,8 @@ jobs:
action: test
result-bundle-path: test_results.xcresult

#- name: Build with xcodebuild
# run: |
# xcodebuild -project ./Mlem.xcodeproj -scheme "Mlem" -sdk "iphonesimulator16.2" -quiet -resultBundlePath "build_results.xcresult"
- uses: kishikawakatsumi/xcresulttool@v1
name: Publish test results
with:
path: test_results.xcresult
upload-bundles: never # Permission issues with uploading
Expand Down

0 comments on commit 345391a

Please sign in to comment.