Skip to content

Commit

Permalink
Update CI (#62)
Browse files Browse the repository at this point in the history
macos12 is deprecated on github actions
  • Loading branch information
gabriellanata committed Jan 8, 2025
1 parent 0a93373 commit eda20da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ jobs:
run: make generate
- name: Run tests
run: make test-iPhone
test_iphone_ios15:
name: Test-iPhone-iOS15
runs-on: macos-12
test_iphone_ios16:
name: Test-iPhone-iOS16
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Force Xcode 13.1
run: sudo xcode-select -switch /Applications/Xcode_13.1.app
- name: Force Xcode 14.1
run: sudo xcode-select -switch /Applications/Xcode_14.1.app
- name: Make project
run: make generate
- name: Run tests
run: make test-iPhone-iOS15
run: make test-iPhone-iOS16

6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ test-iPhone:
test \
$(NO_CODE_SIGN_SETTINGS) | xcbeautify

test-iPhone-iOS15:
test-iPhone-iOS16:
set -o pipefail && \
xcodebuild \
-project Hammer.xcodeproj \
-scheme Hammer \
-destination "name=iPhone 11" \
-sdk iphonesimulator15.0 \
-destination "name=iPhone 14" \
-sdk iphonesimulator16.1 \
test \
$(NO_CODE_SIGN_SETTINGS) | xcbeautify

Expand Down

0 comments on commit eda20da

Please sign in to comment.