diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml index d38507ac9..e2f7d14e7 100644 --- a/.github/workflows/ci_build.yml +++ b/.github/workflows/ci_build.yml @@ -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. @@ -48,6 +48,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: "Test SDK versions" run: | xcodebuild -showsdks @@ -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