-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matty Cross
committed
Dec 18, 2024
1 parent
bc6bc58
commit bce5d79
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Run tests | ||
on: [push] | ||
# on: | ||
# push: | ||
# branches: [$default-branch] | ||
# pull_request: | ||
# branches: [$default-branch] | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test_macOS: | ||
name: Build and Test on macOS | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: List available Xcode versions | ||
run: ls /Applications | grep Xcode | ||
- name: Show current version of Xcode | ||
run: xcodebuild -version | ||
- name: Test | ||
run: | | ||
make ci | ||
xcodebuild test -scheme "Cuckoo-macOS" -workspace Cuckoo.xcworkspace \ | ||
| xcbeautify --renderer github-actions | ||
test_iOS: | ||
name: Build and Test on iOS simulator | ||
runs-on: macos-15 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: List available Xcode versions | ||
run: ls /Applications | grep Xcode | ||
- name: Show current version of Xcode | ||
run: xcodebuild -version | ||
- name: Test | ||
run: | | ||
make ci | ||
xcodebuild test -scheme "Cuckoo-iOS" -workspace Cuckoo.xcworkspace \ | ||
-destination "platform=iOS Simulator,name=iPhone 16,OS=18.0" \ | ||
| xcbeautify -–renderer github-actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters