Skip to content

Commit

Permalink
doop
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeShirley committed Sep 9, 2023
1 parent f03a514 commit 71ca9ee
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI - Build
name: CI - Build & Test

on:
push:
Expand All @@ -12,7 +12,37 @@ on:
- dev

jobs:
xcode-build:
Build:
permissions: write-all
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Test SDK versions"
run: |
xcodebuild -showsdks
- name: "Xcode Test"
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

#- name: Build with xcodebuild
# run: |
# xcodebuild -project ./Mlem.xcodeproj -scheme "Mlem" -sdk "iphonesimulator16.2" -quiet -resultBundlePath "build_results.xcresult"
- uses: kishikawakatsumi/xcresulttool@v1
with:
path: test_results.xcresult
upload-bundles: never # Permission issues with uploading
if: success() || failure()
# ^ This is important because the action will be run
# even if the test fails in the previous step.

Test:
permissions: write-all
runs-on: macos-latest
steps:
Expand Down

0 comments on commit 71ca9ee

Please sign in to comment.